diff options
author | paul <paul> | 2006-03-30 14:16:11 +0000 |
---|---|---|
committer | paul <paul> | 2006-03-30 14:16:11 +0000 |
commit | 6c2e6ae4999394f06ec9210a32689e4ae0e192bd (patch) | |
tree | ca4a4c148ba974675fcd81c8b7dd46bac21e73de | |
parent | 2ac7c0fa4e6ffc71a728066308f88a4d687dc199 (diff) | |
download | quagga-6c2e6ae4999394f06ec9210a32689e4ae0e192bd.tar.bz2 quagga-6c2e6ae4999394f06ec9210a32689e4ae0e192bd.tar.xz |
[ospfd] Fix incorrect byte-order conversion of OSPF_MAX_SEQUENCE_NUMBER
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
-rw-r--r-- | ospfd/ChangeLog | 5 | ||||
-rw-r--r-- | ospfd/ospf_lsa.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index a5a1753a..9f17a3a4 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -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. diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 8ef4da66..12959f04 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -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)) { |