Revert r16464.

This commit is contained in:
david 2010-01-15 03:55:23 +00:00
parent ecca7974a9
commit f21a07cfde
8 changed files with 8 additions and 33 deletions

View file

@ -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 */