summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorpaul <paul>2004-10-11 13:00:30 +0200
committerpaul <paul>2004-10-11 13:00:30 +0200
commit6c83567192ada1a66822c3f35580ce6a85f51ac9 (patch)
tree39ef09859fae79b7c7e234a671bf2e04f8e9264a /ospfd/ospf_te.c
parent2004-10-11 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-6c83567192ada1a66822c3f35580ce6a85f51ac9.tar.xz
frr-6c83567192ada1a66822c3f35580ce6a85f51ac9.zip
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_te.c')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index a4980034a..f62f35c46 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -267,7 +267,7 @@ lookup_linkparams_by_instance (struct ospf_lsa *lsa)
{
struct listnode *node;
struct mpls_te_link *lp;
- int key = GET_OPAQUE_ID (ntohl (lsa->data->id.s_addr));
+ unsigned int key = GET_OPAQUE_ID (ntohl (lsa->data->id.s_addr));
LIST_LOOP (OspfMplsTE.iflist, lp, node)
if (lp->instance == key)