Bugfix in ext lsa importing.
This commit is contained in:
parent
8b6b49239f
commit
5a063efeea
1 changed files with 10 additions and 10 deletions
|
@ -319,7 +319,7 @@ originate_ext_lsa_body(net *n, rte *e, struct proto_ospf *po, struct ea_list *at
|
||||||
|
|
||||||
et=(struct ospf_lsa_ext_tos *)(ext+1);
|
et=(struct ospf_lsa_ext_tos *)(ext+1);
|
||||||
|
|
||||||
if(!m2)
|
if(m1!=LSINFINITY)
|
||||||
{
|
{
|
||||||
et->etos=0;
|
et->etos=0;
|
||||||
et->metric=m1;
|
et->metric=m1;
|
||||||
|
|
Loading…
Reference in a new issue