summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
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