summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-11-27 08:34:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-11-27 08:34:41 +0000
commit0f6d1bcc55b9410e51f77839c4b9f6eccd8d8cf7 (patch)
tree466dc92ad4a5c37ed754a69efc34704204820ad3 /sys/net/if.c
parent65f54577c6941e8e08bcb72577458ebdc12c524b (diff)
Let's call a rtableid a rtableid.
ok mikeb@, henning@, claudio@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 5fcefb67ef1..8926e751a3d 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.277 2013/11/19 09:00:43 mpi Exp $ */
+/* $OpenBSD: if.c,v 1.278 2013/11/27 08:34:40 mpi Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -853,18 +853,18 @@ if_congestion_clear(void *arg)
*/
/*ARGSUSED*/
struct ifaddr *
-ifa_ifwithaddr(struct sockaddr *addr, u_int rdomain)
+ifa_ifwithaddr(struct sockaddr *addr, u_int rtableid)
{
struct ifaddr_item *ifai, key;
bzero(&key, sizeof(key));
key.ifai_addr = addr;
- key.ifai_rdomain = rtable_l2(rdomain);
+ key.ifai_rdomain = rtable_l2(rtableid);
ifai = RB_FIND(ifaddr_items, &ifaddr_items, &key);
if (ifai)
return (ifai->ifai_ifa);
- return (NULL);
+ return (NULL);
}
#define equal(a1, a2) \