STABLE14-viced-avoid-infinite-loop-with-altaddr-unset-20080508
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 17 Feb 2009 03:21:21 +0000 (03:21 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 17 Feb 2009 03:21:21 +0000 (03:21 +0000)
commitb6bcf4ea2dfd95217470e87349f7e35c0c29e1bb
treef33897ed428594bb3900c243afc35adc89913867
parentb2be1adbb7d07564b8162864d683c5847ff13032
STABLE14-viced-avoid-infinite-loop-with-altaddr-unset-20080508

LICENSE IPL10

if we return leaving a non HOSTDELETED host while it does not have ALTADDR set,
a loop can happen. avoid it by simply setting ALTADDR again when we're done,
if we believe some addresses are still good this is fine.

(cherry picked from commit e6c818f070022529c362e42dfed340f54b2fd26e)
src/viced/host.c