Handle non-existant default interface in VIP definition.
authorVincent Bernat <bernat@luffy.cx>
Tue, 17 Nov 2009 10:18:08 +0000 (10:18 +0000)
committerAlexandre Cassen <acassen@freebox.fr>
Thu, 6 May 2010 12:48:59 +0000 (14:48 +0200)
commit41bb38c03d017da40bb7fc231836165225b09de3
tree370f13ca90b11e390deafef5b8da5854010b7d7c
parent75a16c3fc37c974e1e91b1b56c7b80e953fe5aa0
Handle non-existant default interface in VIP definition.

When the user does not specify an interface for a VIP, a default
interface is used. This default interface is fixed to "eth0" which may
not exist on a system (for example, it may have been renamed). We
display a warning instead of just segfaulting in this case.
keepalived/vrrp/vrrp_ipaddress.c