freebsd-skq/usr.sbin/rtadvd
Warner Losh 6f74a8c7a0 Properly convert bit value to a bit field. Before we were storing
values like 0x80 or 0x40 into a uint8_t foo:1 bitfield.  This would
result in the bit always being 0.  One of these caused a warning for
overflow (one that was 0x80), but the other didn't.  They were both
wrong.

This is why I hate code that mixes c struct bitfields and #defines.
The rest of the fields accessed by the program should be audited.
2009-02-19 16:30:11 +00:00
..
advcap.c
advcap.h
config.c
config.h
dump.c
dump.h
if.c
if.h
Makefile
pathnames.h
rrenum.c
rrenum.h
rtadvd.8
rtadvd.c
rtadvd.conf
rtadvd.conf.5
rtadvd.h
timer.c
timer.h