1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/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 Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
advcap.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
config.c Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
config.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
dump.c Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
dump.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
if.c Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
if.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
Makefile
pathnames.h
rrenum.c Properly convert bit value to a bit field. Before we were storing 2009-02-19 16:30:11 +00:00
rrenum.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
rtadvd.8 - rename the RETURN VALUES section to EXIT STATUS [1] 2009-01-07 01:01:26 +00:00
rtadvd.c Change 2 arc4random modulo operations to arc4random_uniform() as 2008-07-26 15:39:32 +00:00
rtadvd.conf
rtadvd.conf.5
rtadvd.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
timer.c Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
timer.h Cleanup of userland __P use 2007-11-07 10:53:41 +00:00