OpenBSD cvs log

created 2022-03-27T18:31:19Z
begin 2022-03-21T03:51:09Z
end 2022-03-21T04:00:56Z
path src/sys
commits 1

date 2022-03-21T04:00:56Z
author dlg
files src/sys/netinet/raw_ip.c log diff annotate
message call in_pcbselsrc from rip_output so route sourceaddr can take effect.

previously things that used sendto or similar with raw sockets would
ignore any configured sourceaddr. this made it inconsistent with
other traffic, which in turn makes things confusing to debug if
you're using ping or traceroute (which use raw sockets) to figure
out what's happening to other packets.

the ipv6 equiv already does this too.

ok sthen@ claudio@