mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Revert r16464.
This commit is contained in:
parent
ecca7974a9
commit
f21a07cfde
8 changed files with 8 additions and 33 deletions
|
|
@ -1616,7 +1616,7 @@ void UltraScanInfo::Init(vector<Target *> &Targets, struct scan_lists *pts, styp
|
|||
/* We'll send ethernet packets with dnet */
|
||||
ethsd = eth_open_cached(Targets[0]->deviceName());
|
||||
if (ethsd == NULL)
|
||||
fatal_eth_open_failure(__func__, Targets[0]->deviceName());
|
||||
fatal("dnet: Failed to open device %s", Targets[0]->deviceName());
|
||||
rawsd = -1;
|
||||
} else {
|
||||
/* Initialize a raw socket */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue