Re: [PATCH] Always set interface_up in totemip_iface_check

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

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 03/01/2012 08:40 AM, Jan Friesse wrote:
> 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);
>  	}

_______________________________________________
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