0
0
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:
Ondrej Filip 2001-04-09 19:15:03 +00:00
parent 01b776e117
commit ea31425a61

View File

@ -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);