mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 15:02:39 +00:00
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:
parent
e34f095551
commit
25381738c2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user