[PATCH] Always set interface_up in totemip_iface_check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 exec/totemip.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/exec/totemip.c b/exec/totemip.c
index c6109c1..90c8f77 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);
 	}
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux