=46rom the trace you sent it looks like right before this you unconfiged
an interface, then configured this one? Can you send the exact
command sequence? (in general when you hit a bug, try to send me the
exact command sequence that caused the failure and the relative portion
of the tracefile.)
If you unconfigured an interface and then configured an interface,
I think you can look in ldpd/ldp_interface.c at create/create2
delete/delete2 code to start debugging.
Did this interface have an IP address configured on it? It is a real
interface on the device that is operational?
On Tue, Mar 22, 2005 at 12:06:57AM +0800, Timothy\(???x\) wrote:
> Hi James,
>=20
> In the latest code of "quagga-mpls" and "ldp-portable", I can't not enabl=
e ldp on an interface.
>=20
> [root@localhost ldpd]# ./ldpd
> addr delete: 0x80993e0
> if delete: 0x8095fb8
> if delete: 0x80996d8
> ENTER: ldp_cfg_if_set
> EXIT: ldp_cfg_if_set
> ENTER: ldp_cfg_global_get
> EXIT: ldp_cfg_global_get
> lt-ldpd: ldp_interface.c:46: ldp_interface_create2: Assertion `li->iff.in=
dex' failed.
> Aborted
>=20
> After tracing, I find that the value of "li->iff.index" is zero. Where I =
can help to fix or I should dig in?
>=20
> Best Regards
>=20
> Timothy
> 2005.03.21
--=20
James R. Leu
jl...@mi...
|