Mailing List Archive

Re: [quagga-users 1491] Can't bind socket: Invalid argument on linux (fwd)
Hi. anyone know if there's a vers of quagga (or zebra) with this patch?
wanna use a stable version, 0.96.4 from:
http://www.quagga.net/download/
doesnt seem to have the patch.


Cheers,
Anthony

---------- Forwarded message ----------
Date: Mon, 23 Feb 2004 14:23:09 -0500 (EST)
From: sowmini.varadhan@sun.com
To: Anthony.Golia@morganstanley.com
Subject: Re: [quagga-users 1491] Can't bind socket: Invalid argument on
linux

>
> traced it down to rip_interface_multicast_set function doing:
>
> bind (sock, NULL, 0); /* unbind any previous association */
> ret = bind (sock, (struct sockaddr *) & from, sizeof (struct
> sockaddr_in));
> if (ret < 0)
> {
> zlog_warn ("Can't bind socket: %s", strerror (errno));
> }

This was fixed in the patch at

http://lists.quagga.net/pipermail/quagga-dev/2004-January/000802.html

(i.e., in [quagga-dev 803])

You may want to upgrade your quagga to pick up these patches..

--Sowmini
Re: [quagga-users 1491] Can't bind socket: Invalid argument on linux (fwd) [ In reply to ]
Anthony.Golia@morganstanley.com wrote:
> Hi. anyone know if there's a vers of quagga (or zebra) with this
> patch? wanna use a stable version, 0.96.4 from:
> http://www.quagga.net/download/
> doesnt seem to have the patch.

It's in CVS already. But this patch introduced new segfault - see
[quagga-dev 929] for details. This must be fixed before 0.96.5.
Anybody listening? :)

--
Hasso Tepper
Elion Enterprises Ltd.
WAN administrator