Commit ea31425a authored by Ondřej Filip's avatar Ondřej Filip

Patch from David Rohleder <davro@ics.muni.cz> thanx.

parent 01b776e1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment