Added initial value to options variables to avoid error at line 110
Benjamin Renard

Benjamin Renard commited on 2011-05-13 13:11:27
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -46,7 +46,7 @@ if ($opt_h) {
46 46
 	print_help(); 
47 47
 	exit $ERRORS{'OK'};
48 48
 }
49
-my ($device, $interface, $number) = qw//;
49
+my ($device, $interface, $number) = qw/0 0 0/;
50 50
 if ($opt_d) {
51 51
 	unless($opt_i){
52 52
 		print "must specify an interface for $opt_d using -i/--interface!\n\n";
53 53