Check out the 'Access to my development repository' on
http://mpls-linux.sf.net/
On Wed, Feb 02, 2005 at 05:53:00PM +0800, ?????x wrote:
> Hi James,
>=20
> According to your answer, could you explain more about "there are more si=
gnificant bugs to fix" that you mention before, I don't understand clearly,=
could you give me some examples or some hints.
Have your tried to run it yet? Try that and start working on the
first segfault you hit ....
> If I want to work on the code, where to grab the latest from your develop=
ment tree (I am not sure what you mean)?
>=20
> Thanks very much.
>=20
> Best Regards.
>=20
> Timothy
> 2005.02.02
>=20
> > Why do you not listen to what I've said before? There are more signific=
ant
> >bugs to fix then to try and port all of the 'extra' commands to the new
> >porting layer. If you are determined to work on the code grab the latest
> >from my development tree and get the basic commands working.
>=20
> >On Tue, Feb 01, 2005 at 05:19:01PM +0800, ?????x wrote:
> > Hi James,
> >=20
> > When I canceled "#if 0" of some parts of "ldp_vtysh.c", for example:=20
> >=20
> > DEFUN(ldp_if_remote_tcp_port,
> > ldp_if_remote_tcp_port_cmd,
> > "remote-tcp-port <1-65535>",
> > "MPLS interface configuration\n"
> > "remote LDP port\n"
> > "port number\n")
> > {
> > struct interface *ifp =3D vty->index;
> > struct ldp_interface *li =3D (struct ldp_interface*)ifp->info;
> > struct ldp *ldp =3D li->ldp;
> >=20
> > li->entity.remote_tcp_port =3D atoi(argv[0]);
> > if (!ldp) {
> > li->create_on_hold =3D MPLS_BOOL_TRUE;
> > return CMD_SUCCESS;
> > }
> >=20
> > ldp_cfg_entity_set(ldp->h, &li->entity, LDP_ENTITY_CFG_REMOTE_TCP);
> > return CMD_SUCCESS;
> > }
> >=20
> > When I compile it, there was an error:
> > ldp_vty.c:1555: error: structure has no member named `ldp'
> >=20
> > Then I went to check "ldp_interface.h", I found that there actually has=
no this member in "struct ldp_interface".
> >=20
> > Thanks.
> >=20
> > Timothy
> > 2005.02.01
> --=20
> James R. Leu
> jl...@mi...
--=20
James R. Leu
jl...@mi...
|