diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-11-27 08:34:41 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-11-27 08:34:41 +0000 |
commit | 0f6d1bcc55b9410e51f77839c4b9f6eccd8d8cf7 (patch) | |
tree | 466dc92ad4a5c37ed754a69efc34704204820ad3 /sys/netinet | |
parent | 65f54577c6941e8e08bcb72577458ebdc12c524b (diff) |
Let's call a rtableid a rtableid.
ok mikeb@, henning@, claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index ce269563fc4..6086893cd38 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.221 2013/11/17 10:07:32 bluhm Exp $ */ +/* $OpenBSD: ip_input.c,v 1.222 2013/11/27 08:34:39 mpi Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -725,7 +725,7 @@ in_ouraddr(struct in_addr ina, struct mbuf *m) } struct in_ifaddr * -in_iawithaddr(struct in_addr ina, u_int rdomain) +in_iawithaddr(struct in_addr ina, u_int rtableid) { struct in_ifaddr *ia; struct sockaddr_in sin; @@ -734,7 +734,7 @@ in_iawithaddr(struct in_addr ina, u_int rdomain) sin.sin_len = sizeof(sin); sin.sin_family = AF_INET; sin.sin_addr = ina; - ia = ifatoia(ifa_ifwithaddr(sintosa(&sin), rdomain)); + ia = ifatoia(ifa_ifwithaddr(sintosa(&sin), rtableid)); if (ia == NULL || ina.s_addr == ia->ia_addr.sin_addr.s_addr) return (ia); |