]> git.puffer.fish Git - mirror/frr.git/commitdiff
[ospfd] Fix incorrect byte-order conversion of OSPF_MAX_SEQUENCE_NUMBER
authorPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 14:16:11 +0000 (14:16 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 14:16:11 +0000 (14:16 +0000)
2006-03-23 Steve Lawson <steve.lawson@aheadcomusa.com>

* ospf_lsa.c: (ospf_lsa_install) Fix incorrect byte-order
  conversion of OSPF_MAX_SEQUENCE_NUMBER

ospfd/ChangeLog
ospfd/ospf_lsa.c

index a5a1753aa2bd8594b3032c5e87a89ea6fc017022..9f17a3a4fc3a3b38febb36338c5dfc0a084f1a6c 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-23 Steve Lawson <steve.lawson@aheadcomusa.com>
+
+       * ospf_lsa.c: (ospf_lsa_install) Fix incorrect byte-order 
+         conversion of OSPF_MAX_SEQUENCE_NUMBER
+
 2006-01-19 Paul Jakma <paul.jakma@sun.com>
 
         * (general) various miscellaneous compiler warning fixes.
index 8ef4da66b1a23a93c99e16960de8e71cfe102b39..12959f0488e414f4ebcddfc839993cea2ee5b8cf 100644 (file)
@@ -2786,7 +2786,7 @@ ospf_lsa_install (struct ospf *ospf, struct ospf_interface *oi,
       can be originated. "
    */
 
-  if (ntohl(lsa->data->ls_seqnum) - 1 ==  htonl(OSPF_MAX_SEQUENCE_NUMBER))
+  if (ntohl(lsa->data->ls_seqnum) - 1 == OSPF_MAX_SEQUENCE_NUMBER)
     {
       if (ospf_lsa_is_self_originated(ospf, lsa))
         {