Proposal ipv6_addrs_common
Dirk Engling
erdgeist at erdgeist.org
Tue Feb 7 18:57:05 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07.02.12 15:24, Hiroki Sato wrote:
> Comments are welcome. I am moving onto implementing address range
> expansion to this framework.
I noticed that in ipv4_down and ipv6_down first the aliases are taken
down from the interface with the ifalias and ipv4_addrs_common function.
Afterwards every single ip address is deleted in the loop calling
ifconfig ${_if} ${_inet} delete
Actually the order first was reversed: every address was taken down in
the loop and only then did the code try to remove the addresses it
configured with the _alias functions.
Why first remove them chirurgical before killing the whole patient?
Did I miss anything?
erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAk8xc/4ACgkQuN1wFypsMNPTuwCghycrPZryDFF5AhjWINTJNHTF
kocAniZ08A7+BUtobjt01AhKc35HcSMW
=5YfA
-----END PGP SIGNATURE-----
More information about the freebsd-rc
mailing list