PTP link in RTLSA was not announced correctly.
This commit is contained in:
parent
1605f043aa
commit
fdb0c540a8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ originate_rt_lsa_body(struct ospf_area *oa, u16 *length, struct proto_ospf *p)
|
||||||
{
|
{
|
||||||
case OSPF_IT_PTP: /* rfc2328 - pg126 */
|
case OSPF_IT_PTP: /* rfc2328 - pg126 */
|
||||||
neigh=(struct ospf_neighbor *)HEAD(ifa->neigh_list);
|
neigh=(struct ospf_neighbor *)HEAD(ifa->neigh_list);
|
||||||
if((neigh!=NULL) || (neigh->state==NEIGHBOR_FULL))
|
if((!EMPTY_LIST(ifa->neigh_list)) && (neigh->state==NEIGHBOR_FULL))
|
||||||
{
|
{
|
||||||
ln->type=LSART_PTP;
|
ln->type=LSART_PTP;
|
||||||
ln->id=neigh->rid;
|
ln->id=neigh->rid;
|
||||||
|
|
Loading…
Reference in a new issue