CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2022/03/20 22:00:56

Modified files:
        sys/netinet    : raw_ip.c 

Log 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@

Reply via email to