[Bug 149003] arpwatch does only support one interface
https://bugzilla.novell.com/show_bug.cgi?id=149003 User draht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=149003#c3 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Roman Drahtmueller <draht@novell.com> 2008-11-12 03:27:58 MST --- Fixed for 11.1/SLES11. case "$1" in start) ARPWATCH_STARTED=0 echo -n "Starting arpwatch" for interface in $ARPWATCH_INTERFACE; do if /sbin/ifstatus $interface > /dev/null 2>&1; then DATFILE=/var/lib/arpwatch/arp.dat.$interface if [ ! -f "$DATFILE" ]; then /bin/cp -a /var/lib/arpwatch/arp.dat $DATFILE fi TEMP_ARGS="$ARPWATCH_ARGS -i $interface -f $DATFILE" $ARPWATCH $TEMP_ARGS ARPWATCH_STARTED=$(( $ARPWATCH_STARTED + 1 )) else echo "${attn} interface ${warn}$interface ${attn} is not ready.${norm}" fi done if [ "$ARPWATCH_STARTED" = 0 ]; then startproc $ARPWATCH $ARPWATCH_ARGS fi rc_status -v ;; stop) .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com