Fix routing message size check in route_output(). `rtm_hdrlen' type is
authormvs <mvs@openbsd.org>
Thu, 27 Jul 2023 22:20:51 +0000 (22:20 +0000)
committermvs <mvs@openbsd.org>
Thu, 27 Jul 2023 22:20:51 +0000 (22:20 +0000)
commit700cb63dd145df2d3621516f354e250e8e48db9d
treeefca90ca4178168f5755c6525bd713ad1a91d7a6
parentd1dd674394e26782b4b514c396291cce34071e5c
Fix routing message size check in route_output(). `rtm_hdrlen' type is
u_short, so add sizeof(rtm->rtm_hdrlen) instead of 1 to its offset
within rt_msghdr structure.

ok claudio
sys/net/rtsock.c