mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
Patch from David Rohleder <davro@ics.muni.cz> thanx.
This commit is contained in:
parent
01b776e117
commit
ea31425a61
@ -131,7 +131,7 @@ ospf_rx_hook(sock *sk, int size)
|
||||
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: Discarding",p->name);
|
||||
|
Loading…
Reference in New Issue
Block a user