summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-09-03 08:59:06 +0000
committermpi <mpi@openbsd.org>2014-09-03 08:59:06 +0000
commit5105ae10789a6e8da1894525319936b837959704 (patch)
tree8c76a72c737bab0dc4274cedb4abe001e2c45be0 /lib/libc
parentMake sure broadcast entries won't be freed by the arp timer so we can (diff)
downloadwireguard-openbsd-5105ae10789a6e8da1894525319936b837959704.tar.xz
wireguard-openbsd-5105ae10789a6e8da1894525319936b837959704.zip
When a route to prefix (connected route) is added, if its associated
broadcast address is non null, add a broadcast entry flagged with RTF_BROADCAST. Re-use the existing logic to switch a route to prefix from an ifa to another to also move this broadcast entry. Prior to this change broadcast entries were simple clonned ARP entries, that would be deleted once their timer expired since they would always be incomplete. With this change they are now persistant and identifiable with a new flag This version of the diff prevent a corruption reported by millert@ ok mikeb@, florian@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions