diff options
author | David Ward <david.ward@ll.mit.edu> | 2009-12-03 20:44:35 +0300 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2009-12-03 20:44:35 +0300 |
commit | 362573e5642b29ffeef5000351adc2d6ed6dfca3 (patch) | |
tree | 2b1c84f9498563959f43b54335ab8a07c4e7e6c2 /tests/bgp_mpath_test.c | |
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)
Diffstat (limited to 'tests/bgp_mpath_test.c')
0 files changed, 0 insertions, 0 deletions