commit | 362573e5642b29ffeef5000351adc2d6ed6dfca3 | [log] [tgz] |
---|---|---|
author | David Ward <david.ward@ll.mit.edu> | Thu Dec 03 20:44:35 2009 +0300 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Thu Dec 03 20:44:35 2009 +0300 |
tree | 2b1c84f9498563959f43b54335ab8a07c4e7e6c2 | |
parent | cdb9950482e1180b4a2b6ba05d171bdf2649c84c [diff] |
isisd: fix BPF ioctl() calls, treat "true" and "false" as reserved Avoid a potential conflict with the C99 defines 'true' and 'false' found in <stdbool.h> by choosing better variable names. Also fix the calls to these ioctls, as described in <net/bpf.h> in FreeBSD, NetBSD, and OpenBSD: * BIOCGBLEN, BIOCIMMEDIATE, BIOCSSEESENT (the parameter should be of type 'u_int') * BIOCPROMISC (there should be no parameters)