summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-06-20 04:17:31 +0000
committeritojun <itojun@openbsd.org>2000-06-20 04:17:31 +0000
commitc18180ac4a8aab5055bb1ba79f9f09b170c218c4 (patch)
treee79de1bf04b431e402267a69b78023582f3b637b /lib/libc
parentDon't log ipf info in /var/log/messages. Fixes PR 1171 (diff)
downloadwireguard-openbsd-c18180ac4a8aab5055bb1ba79f9f09b170c218c4.tar.xz
wireguard-openbsd-c18180ac4a8aab5055bb1ba79f9f09b170c218c4.zip
initialize mtu/hlim for enc interface at encattach().
backgronud: inbound ipsec packet will have enc* as m->m_pkthdr.rcvif. when we try to reflect the packet back in the kernel (like icmp6 echo), we'd generate packet toward enc* interface. icmp6_reflect() will take hoplimit value from nd_ifinfo[enc*], which was not initialized by the old code. XXX the change to m->m_pkthdr.rcvif violates IPv6 scoped routing. we will need to disable it, for at least IPv6.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions