Always set interface_up in totemip_iface_check

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Jan Friesse 2012-03-01 16:39:06 +01:00
parent e34f095551
commit 25381738c2

View File

@ -538,6 +538,9 @@ int totemip_iface_check(struct totem_ip_address *bindnet,
socklen_t si;
int res = -1;
*interface_up = 0;
*interface_num = 0;
if (totemip_getifaddrs(&addrs) == -1) {
return (-1);
}