From 25381738c21f95bb533a132e541a8dff011745ef Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Thu, 1 Mar 2012 16:39:06 +0100 Subject: [PATCH] Always set interface_up in totemip_iface_check Signed-off-by: Jan Friesse Reviewed-by: Steven Dake --- exec/totemip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exec/totemip.c b/exec/totemip.c index c6109c12..90c8f771 100644 --- a/exec/totemip.c +++ b/exec/totemip.c @@ -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); }