Patch from David Rohleder <davro@ics.muni.cz> thanx.
This commit is contained in:
parent
01b776e117
commit
ea31425a61
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ ospf_rx_hook(sock *sk, int size)
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ps->areaid!=ifa->an)
|
if(ntohl(ps->areaid)!=ifa->an)
|
||||||
{
|
{
|
||||||
log("%s: Bad OSPF packet received: other area %ld", p->name, ps->areaid);
|
log("%s: Bad OSPF packet received: other area %ld", p->name, ps->areaid);
|
||||||
log("%s: Discarding",p->name);
|
log("%s: Discarding",p->name);
|
||||||
|
|
Loading…
Reference in a new issue