CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/04/29 06:36:31
Modified files:
sys/netinet : ip_carp.c
Log message:
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@