summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-04-09 21:15:03 +0200
committerOndrej Filip <feela@network.cz>2001-04-09 21:15:03 +0200
commitea31425a6191f0b3e181f8a1c7368fc4dfca24b4 (patch)
tree1ef45269d60141f69c3bb3e463a39c3c80249ab6 /proto
parent01b776e117d21ccfef996fd91c014c6e14a458a7 (diff)
downloadbird-ea31425a6191f0b3e181f8a1c7368fc4dfca24b4.tar
bird-ea31425a6191f0b3e181f8a1c7368fc4dfca24b4.zip
Patch from David Rohleder <davro@ics.muni.cz> thanx.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index 382e542..3543964 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -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);