diff options
author | 2011-04-29 12:36:31 +0000 | |
---|---|---|
committer | 2011-04-29 12:36:31 +0000 | |
commit | 43ca4d682b2eb264848dde5e41ed54e3990325d5 (patch) | |
tree | 7a98f673d1a31bf645f9dc6671d65b4a3425302d /lib/libc/stdlib/malloc.c | |
parent | Add BUGS section explaining that these functions do not cover the entire (diff) | |
download | wireguard-openbsd-43ca4d682b2eb264848dde5e41ed54e3990325d5.tar.xz wireguard-openbsd-43ca4d682b2eb264848dde5e41ed54e3990325d5.zip |
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 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions