version 1.5.4.2, 2014/02/05 02:24:28
|
version 1.5.4.3, 2014/02/08 18:58:12
|
Line 213 io_etherOpen(const char *csIface, int flags, u_int whd
|
Line 213 io_etherOpen(const char *csIface, int flags, u_int whd
|
return -1; |
return -1; |
} |
} |
|
|
|
n = 1; |
if (ioctl(eth, BIOCIMMEDIATE, &n) == -1) { |
if (ioctl(eth, BIOCIMMEDIATE, &n) == -1) { |
LOGERR; |
LOGERR; |
close(eth); |
close(eth); |
return -1; |
return -1; |
} |
} |
n = 1; |
|
if (whdr && ioctl(eth, BIOCSHDRCMPLT, &n) == -1) { |
if (whdr && ioctl(eth, BIOCSHDRCMPLT, &n) == -1) { |
LOGERR; |
LOGERR; |
close(eth); |
close(eth); |