patch to OSPF area problem

David Rohleder davro at ics.muni.cz
Wed Mar 7 16:50:18 CET 2001


Hello, 

I have got a patch, seems, that it works


--- packet.c.orig       Sun Sep  3 08:53:15 2000
+++ packet.c    Wed Mar  7 16:53:36 2001
@@ -131,7 +131,7 @@
     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);


-- 
-------------------------------------------------------------------------
David Rohleder						davro at ics.muni.cz
Institute of Computer Science, Masaryk University
Brno, Czech Republic
-------------------------------------------------------------------------



More information about the Bird-users mailing list