summaryrefslogtreecommitdiff
path: root/zebra/if_sysctl.c
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2009-12-03 20:44:35 +0300
committerDenis Ovsienko <infrastation@yandex.ru>2009-12-03 20:44:35 +0300
commit362573e5642b29ffeef5000351adc2d6ed6dfca3 (patch)
tree2b1c84f9498563959f43b54335ab8a07c4e7e6c2 /zebra/if_sysctl.c
parentcdb9950482e1180b4a2b6ba05d171bdf2649c84c (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 'zebra/if_sysctl.c')
0 files changed, 0 insertions, 0 deletions