[quagga-dev 246] Re: quagga bug fixes

Paul Jakma paul at clubi.ie
Wed Sep 17 17:37:28 BST 2003

On Mon, 8 Sep 2003 sowmini.varadhan at sun.com wrote:

> I ran into some problems while trying to get quagga up and running
> on Solaris, specifically when I have the line "interface ip.tun0"
> in zebra.conf, start up zebra (zebra will create an interface
> structure for ip.tun0 with index -1) and then plumb/add the ip.tun0
> interface (after zebra is runninga), I found that:

> - ifm_read does a lookup by index, which is misleading for the situation
>   above.

> - if_cmp_func can run into an infinite loop if ifp1->name == ifp2->name


> - listnode_add_sort can't correctly handle the case when list->cmp returns 0

ouch yes.

> - the problems described in [quagga-dev 225]

ok. will apply lib/if.c and lib/linklist.c now, will look at [225]
and reply again.

> Here's a patch (attached) that I believe will address the problems.

thank you very much!

> --Sowmini

Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
	warning: do not ever send email to spam at dishone.st
A rock store eventually closed down; they were taking too much for granite.

More information about the Quagga-dev mailing list