Re: [mpls-linux-general] buff into zserv.c of quagga
Status: Beta
Brought to you by:
jleu
|
From: <ble...@in...> - 2005-04-15 14:50:46
|
Sorry, but I have no ideas how to make a patch.
I let you to correct it by hand.
Another thing : I would like to test MPLS on loopback interface but it doesn't
work. Can you write an example on loopback interface ?
Thank you and if I find some other bugs, I tell you ;)
I'm going to work a lot of mpls !!
Selon "James R. Leu" <jl...@mi...>:
> You plateform probably doesn't support ipv6. Yeah, you will need to comment
> out the ipv6 stuff.
>
> You are correct that the AF_INET stuff should be ipv4 and prefix4.
> Do you want to prepare a patch and sent to me, otherwise I'll make a note
> to modify it by hand. Thanks for point this out!
>
> On Fri, Apr 15, 2005 at 02:39:59PM +0200, ble...@in... wrote:
> > Hi,
> >
> > I found, in zserv.c the following lines :
> >
> >
> > if (api.gate.family == AF_INET)
> > {
> > out.nh.gate.ipv6 = api.gate.u.prefix6;
> > out.nh.type &= NEXTHOP_TYPE_IPV4;
> > }
> > else if (api.gate.family == AF_INET6)
> > {
> > out.nh.gate.ipv6 = api.gate.u.prefix6;
> > out.nh.type &= NEXTHOP_TYPE_IPV6;
> > }
> >
> >
> > in the if, would'nt it be ipv4 and prefix4 ???? And not ipv6 and prefix6...
> >
> >
> > Moreover, I repost my problem with
> > zserv.c:1291: error: union has no member named `prefix6'
> > zserv.c:1291: error: union has no member named `ipv6'
> > zserv.c: In function `zsend_mpls_out_segment_delete':
> > zserv.c:1334: error: union has no member named `prefix6'
> > zserv.c:1334: error: union has no member named `ipv6'
> > zserv.c: In function `zread_mpls_out_segment_add':
> > zserv.c:1534: error: union has no member named `ipv6'
> > zserv.c:1534: error: union has no member named `prefix6'
> > zserv.c:1539: error: union has no member named `ipv6'
> > zserv.c:1539: error: union has no member named `prefix6'
> > zserv.c: In function `zread_mpls_out_segment_delete':
> > zserv.c:1572: error: union has no member named `ipv6'
> > zserv.c:1572: error: union has no member named `prefix6'
> > zserv.c:1577: error: union has no member named `ipv6'
> > zserv.c:1577: error: union has no member named `prefix6'
> >
> >
> > Must I only delete the case of ipv6 ???
> >
> > thanks for your answers...
> >
> > Bertrand
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > mpls-linux-general mailing list
> > mpl...@li...
> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>
> --
> James R. Leu
> jl...@mi...
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
|