summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 15:28:13 +0000
committerOndrej Filip <feela@network.cz>2000-05-31 15:28:13 +0000
commita9eeefd63ab7886bc2a5b8f0f7a2d1ec69a9c831 (patch)
tree67eba740201d7ab06276aee3d9a0b777864e65b8 /proto/ospf
parent82364f4db8fff969932989bfcc5be89c73b15174 (diff)
Warning destroyed. :-)
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/lsupd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index b9c26d21..04849b33 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -194,7 +194,7 @@ ospf_lsupd_tx_list(struct ospf_neighbor *n, list *l)
DBG("Sending ID=%I, Type=%u, RT=%I\n", llsh->lsh.id, llsh->lsh.type,
llsh->lsh.rt);
- if((len+en->lsa.length)>n->ifa->iface->mtu)
+ if(((u32)(len+en->lsa.length))>n->ifa->iface->mtu)
{
pk->lsano=htonl(lsano);
op->length=htons(len-SIPH);