diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-12 14:23:47 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-12 14:23:47 +0000 |
commit | 2c43e10447b25d91e0c1157699481bdd35ec78f7 (patch) | |
tree | 618009d431a56d5b11c7c73e957296689331daf1 /usr.bin/cvs/status.c | |
parent | 58d46986875974ae3498c270d878b3d6309c8f23 (diff) |
messages on the routing socket have different headers - rt_msghdr,
if_msghdr, etc. they only share the first 3 fields, and then differ.
this leads to a bug in RTM_IFINFO handling. We did abort on
rtm->rtm_errno != 0,
but if_msghdr has no errno, so we look at something in the data part
instead. Surprising that this didn't bite us before!
So we must only do these checks for RTM_ADD/CHANGE/DELETE that actually
use rt_msghdr.
found whiel checking strange behaviour tony sarendal <dualcyclone@gmail.com>
saw, and then totally strange behaviour on my amd64 hackbox. claudio ok
Diffstat (limited to 'usr.bin/cvs/status.c')
0 files changed, 0 insertions, 0 deletions