Changeset 258
- Timestamp:
- Sep 9, 2017, 10:11:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r257 r258 239 239 sub fast_ping { 240 240 # Launch this command without waiting... 241 system "fping -q -c 1 @_ > /dev/null 2>&1 &";241 system "fping -q -c 1 @_ > /dev/null 2>&1 &"; 242 242 return; 243 243 } … … 1206 1206 my $current_net = $computer_not_detected{$one_computer}; 1207 1207 my $current_interface = get_current_interface($current_net); 1208 system "arping -c 1 -w 1 -rR -i $current_interface $one_computer &>/dev/null" if get_current_scan_mode($current_net) eq 'active'; 1209 # print "arping -c 1 -w 1 -rR -i $current_interface $one_computer 2>/dev/null\n"; 1208 system "arping -c 1 -w 1 -rR -i $current_interface $one_computer > /dev/null 2>&1" if get_current_scan_mode($current_net) eq 'active'; 1210 1209 } 1211 1210 return; … … 2503 2502 $resol_arp{ipv4_address} .= '*'; 2504 2503 # Force a MAC trace on switch 2505 system "arping -c 1 -w 1 -rR -i $resol_arp_alt{interface} $fake_ip &>/dev/null";2504 system "arping -c 1 -w 1 -rR -i $resol_arp_alt{interface} $fake_ip > /dev/null 2>&1"; 2506 2505 } 2507 2506 }
Note: See TracChangeset
for help on using the changeset viewer.