summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorpaul <paul>2004-10-11 11:28:44 +0000
committerpaul <paul>2004-10-11 11:28:44 +0000
commit7cef2b912945dc36c2d2aea3beb5d2d73f51c8af (patch)
tree943626c902472edba0471dd168742c3ef66119ab /lib/if.h
parentd646f87e1b6c784d55421f02fd270bf171d9928c (diff)
downloadquagga-7cef2b912945dc36c2d2aea3beb5d2d73f51c8af.tar.bz2
quagga-7cef2b912945dc36c2d2aea3beb5d2d73f51c8af.tar.xz
2004-10-11 Paul Jakma <paul@dishone.st>
* if.h: mtu's should be unsigned. * routemap.{c,h}: const char updates * smux.{c,h}: ditto
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.h b/lib/if.h
index 0f088a97..218f1026 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -94,8 +94,8 @@ struct interface
int metric;
/* Interface MTU. */
- int mtu; /* IPv4 MTU */
- int mtu6; /* IPv6 MTU - probably, but not neccessarily same as mtu */
+ unsigned int mtu; /* IPv4 MTU */
+ unsigned int mtu6; /* IPv6 MTU - probably, but not neccessarily same as mtu */
/* Hardware address. */
#ifdef HAVE_SOCKADDR_DL