summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-21 08:21:07 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-21 08:21:07 +0000
commitd718197303f1a64d5381690a0a9abeb42c2357fe (patch)
tree8d63455c3f043cad7a2166411c75ab0c0e0ff102
parent91f59a48506370c8b8376331b571a3d7a8795dfa (diff)
u_short -> unsigned int for rtableid.
-rw-r--r--sys/net/route.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 1f11dd199b8..5e525ef25e8 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.253 2015/10/16 12:36:02 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.254 2015/10/21 08:21:06 mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -1099,8 +1099,8 @@ rt_ifa_add(struct ifaddr *ifa, int flags, struct sockaddr *dst)
struct rtentry *rt;
struct sockaddr_rtlabel sa_rl;
struct rt_addrinfo info;
- u_short rtableid = ifp->if_rdomain;
- u_int8_t prio = ifp->if_priority + RTP_STATIC;
+ unsigned int rtableid = ifp->if_rdomain;
+ uint8_t prio = ifp->if_priority + RTP_STATIC;
int error;
memset(&info, 0, sizeof(info));
@@ -1168,8 +1168,8 @@ rt_ifa_del(struct ifaddr *ifa, int flags, struct sockaddr *dst)
struct sockaddr *deldst;
struct rt_addrinfo info;
struct sockaddr_rtlabel sa_rl;
- u_short rtableid = ifp->if_rdomain;
- u_int8_t prio = ifp->if_priority + RTP_STATIC;
+ unsigned int rtableid = ifp->if_rdomain;
+ uint8_t prio = ifp->if_priority + RTP_STATIC;
int error;
#ifdef MPLS