Группа :: Система/Настройка/Сеть
Пакет: rancid
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: rancid-2.3.8-ping.patch
Скачать
Скачать
--- rancid-2.3.8/configure.orig 2011-11-18 05:10:12.000000000 +0800
+++ rancid-2.3.8/configure 2013-12-04 07:25:46.897309472 +0800
@@ -5474,8 +5474,8 @@ else
if test $? -eq 0 ; then
LG_PING_CMD="$PING_PATH -n 1"
else
- as_fn_error "can't figure out how to pass count == 1 to $PING_PATH." "$LINENO" 5
- exit 1
+ # Default is BSD ping:
+ LG_PING_CMD="$PING_PATH -c 1"
fi
fi
fi