]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: add then remove when changing addresses
authorMichael Meffie <mmeffie@sinenomine.net>
Wed, 23 Dec 2009 21:38:57 +0000 (16:38 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 30 Dec 2009 02:24:17 +0000 (18:24 -0800)
commit63840e2e57c74c9bd204d130dc8124138e2066fe
treeca125f706f5e5295472389b701e5557622055410
parent88fd7d0b93e20dca13ce51eb3556da6c6dd4d580
viced: add then remove when changing addresses

When changing a host address, be sure to add the new interface
before removing the old to avoid having the host marked as
deleted if we removed the only valid address.  This change was
pulled out of commit ca613599a2537756462a420ae1a632747a433226
viced-host-uuid-and-addr-hashing-corrections-20090530 by
Jeffrey Altman.

LICENSE IPL10
FIXES 124634

Change-Id: Ie65e762c4be6205eb654566403f0d5088b7ebdee
Reviewed-on: http://gerrit.openafs.org/1026
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c