diff options
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index fd86c4c..6dd7fe1 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -40,6 +40,10 @@ for ($i = 1; $i <= $ARGC; $i++) $argspassed .= $ARGV[$i] . " "; + if ( $ARGC != 2 ) { + exit; + } + log_error("Processing {$ARGV[1]} - {$ARGV[2]}"); $iface = convert_real_interface_to_friendly_interface_name($ARGV[1]); /* XXX: billm - is this correct? we claim DHCP, but we're checking other types too */ |