diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-02 14:40:10 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-02 14:40:10 +0000 |
commit | 558f551e2568ad735b56d81059dd27c1c811e2df (patch) | |
tree | 914e8930ed0cad771fca05f2d8cff514cb95460b /sys/net/if.c | |
parent | 6c44b18cfc73c1d5db989598af750f98cef37552 (diff) |
Merge rtable_mpath_match() into rtable_lookup().
ok bluhm@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 3537e85245c..9f0e99baf68 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.400 2015/10/28 12:14:25 florian Exp $ */ +/* $OpenBSD: if.c,v 1.401 2015/11/02 14:40:09 mpi Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -2347,7 +2347,7 @@ if_group_egress_build(void) bzero(&sa_in, sizeof(sa_in)); sa_in.sin_len = sizeof(sa_in); sa_in.sin_family = AF_INET; - rt0 = rtable_lookup(0, sintosa(&sa_in), sintosa(&sa_in)); + rt0 = rtable_lookup(0, sintosa(&sa_in), sintosa(&sa_in), NULL, RTP_ANY); if (rt0 != NULL) { rt = rt0; do { @@ -2367,7 +2367,8 @@ if_group_egress_build(void) #ifdef INET6 bcopy(&sa6_any, &sa_in6, sizeof(sa_in6)); - rt0 = rtable_lookup(0, sin6tosa(&sa_in6), sin6tosa(&sa_in6)); + rt0 = rtable_lookup(0, sin6tosa(&sa_in6), sin6tosa(&sa_in6), NULL, + RTP_ANY); if (rt0 != NULL) { rt = rt0; do { |