summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/lm87.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2018-10-10 11:47:00 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2018-10-10 11:47:00 +0000
commit6680be4f191226402a6424962e47cf802fe7826d (patch)
tree4f1f5665613ea3d37deed20b430dcd69cf4bb1f7 /sys/dev/i2c/lm87.c
parent6a3005e690de49bee6e3e3f6f15abfaa9c49e553 (diff)
RT_TABLEID_MAX is 255, fix places that assumed that it is less than 255.
rtable 255 is a valid routing table or domain id that wasn't handled by the ip[6]_mroute code or by snmpd. The arrays in the ip[6]_mroute code where off by one and didn't allocate space for rtable 255; snmpd simply ignored rtable 255. All other places in the tree seem to handle RT_TABLEID_MAX correctly. OK florian@ benno@ henning@ deraadt@
Diffstat (limited to 'sys/dev/i2c/lm87.c')
0 files changed, 0 insertions, 0 deletions