summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_divert.h
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2011-04-29 12:36:32 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2011-04-29 12:36:32 +0000
commit4cf3f9b22f46d04b1dd9e7cf2b4ea7417c0079e8 (patch)
tree9f854634bc4b7688529a33ab113eb370d54c3b73 /sys/netinet/ip_divert.h
parent2f459c4a92065cda8b75678215cb5df1f8a33695 (diff)
The previous reconfiguration change broke IPv6 only setups.
The address hook was only registered for v4 addresses. We now call hook_establish at interface creation time. The hook is now disestablished upon interface destroy, which plugs a tiny memleak. While there remove redundancy in carp_set_addr6 and sync it with carp_set_addr. Bug noticed by todd@. OK sthen, mikeb (on an earlier version) OK and some hints by camield@
Diffstat (limited to 'sys/netinet/ip_divert.h')
0 files changed, 0 insertions, 0 deletions