diff options
author | paul <paul> | 2004-05-31 14:16:54 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-31 14:16:54 +0000 |
commit | 0c2be26c735870c28ec7985ca1d24d96ae63ae45 (patch) | |
tree | a9bcbdbb3e46be5e2d335461fdf9c2c73a0ab505 /ospfd/ospf_flood.c | |
parent | dc0b5ce220387b3982d7120ce2273a9094e6a778 (diff) |
2004-05-31 Sagun Shakya <sagun.shakya@sun.com>
* ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if
index is out of range.
ospf_flood.c: endianness fix
ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum
in various places.
Diffstat (limited to 'ospfd/ospf_flood.c')
-rw-r--r-- | ospfd/ospf_flood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index 22611d8d..71910dd7 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -121,7 +121,7 @@ ospf_process_self_originated_lsa (struct ospf *ospf, if (IS_DEBUG_OSPF_EVENT) zlog_info ("LSA[Type%d:%s]: Process self-originated LSA seq 0x%lx", new->data->type, inet_ntoa (new->data->id), - (u_long)new->data->ls_seqnum); + ntohl(new->data->ls_seqnum)); /* If we're here, we installed a self-originated LSA that we received from a neighbor, i.e. it's more recent. We must see whether we want |