summaryrefslogtreecommitdiff
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
commitc9eca01b298b83a849a608477f5f5b978a58167e (patch)
treeafd25d986e49e57c73a4d555d4c083ab66d454fa /lib/if.h
parent6c83567192ada1a66822c3f35580ce6a85f51ac9 (diff)
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