diff options
author | paul <paul> | 2004-10-11 11:00:30 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-11 11:00:30 +0000 |
commit | d646f87e1b6c784d55421f02fd270bf171d9928c (patch) | |
tree | c79555028fda59b0ceb5509dbacaf82c44e1198a /ospfd/ospf_abr.c | |
parent | 9353a2aa75b638a91e8692f807d9f1dbac1d1e8e (diff) | |
download | quagga-d646f87e1b6c784d55421f02fd270bf171d9928c.tar.bz2 quagga-d646f87e1b6c784d55421f02fd270bf171d9928c.tar.xz |
2004-10-11 Paul Jakma <paul@dishone.st>
* (global) Const char update and signed/unsigned fixes.
* (various headers) size defines should be unsigned.
* ospf_interface.h: remove duplicated defines, include the
authoritative header - though, these defines should probably
be moved to a dedicated header, or ospfd.h.
* ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
* ospf_packet.c: (ospf_write) cast result of shift to unsigned.
Diffstat (limited to 'ospfd/ospf_abr.c')
-rw-r--r-- | ospfd/ospf_abr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c index e23ace20..51fb2d6e 100644 --- a/ospfd/ospf_abr.c +++ b/ospfd/ospf_abr.c @@ -565,7 +565,7 @@ ospf_abr_update_aggregate (struct ospf_area_range *range, if (IS_DEBUG_OSPF_EVENT) zlog_info ("ospf_abr_update_aggregate(): Start"); - if (range->cost_config != -1) + if (range->cost_config != OSPF_AREA_RANGE_COST_UNSPEC) { if (IS_DEBUG_OSPF_EVENT) zlog_info ("ospf_abr_update_aggregate(): use configured cost %d", |