Re: [mpls-linux-general] buff into zserv.c of quagga
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-04-15 14:36:10
|
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,
>=20
> I found, in zserv.c the following lines :
>=20
>=20
> if (api.gate.family =3D=3D AF_INET)
> {
> out.nh.gate.ipv6 =3D api.gate.u.prefix6;
> out.nh.type &=3D NEXTHOP_TYPE_IPV4;
> }
> else if (api.gate.family =3D=3D AF_INET6)
> {
> out.nh.gate.ipv6 =3D api.gate.u.prefix6;
> out.nh.type &=3D NEXTHOP_TYPE_IPV6;
> }
>=20
>=20
> in the if, would'nt it be ipv4 and prefix4 ???? And not ipv6 and prefix6.=
..
>=20
>=20
> 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'
>=20
>=20
> Must I only delete the case of ipv6 ???
>=20
> thanks for your answers...
>=20
> Bertrand
>=20
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>=20
>=20
>=20
> -------------------------------------------------------
> 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=3D6595&alloc_id=3D14396&op=3Dclick
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|