diff options
author | 2008-05-09 00:37:43 +0000 | |
---|---|---|
committer | 2008-05-09 00:37:43 +0000 | |
commit | 11593e6a3edc12babe3206fac7ed40eed00d2f7c (patch) | |
tree | 0f413717160bdac071e14c43110229f03b63baa2 /sys | |
parent | Oops. When detaching tape drives look for devices using 'stopen' not (diff) | |
download | wireguard-openbsd-11593e6a3edc12babe3206fac7ed40eed00d2f7c.tar.xz wireguard-openbsd-11593e6a3edc12babe3206fac7ed40eed00d2f7c.zip |
A little bit of magic to make arp lookups work in MPLS as they should.
No need to preload the arp table anymore. hai norby@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 2e345c7a92d..974046bf7ed 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.119 2008/05/07 05:51:12 mpf Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.120 2008/05/09 00:37:43 claudio Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -334,7 +334,7 @@ ether_output(ifp0, m0, dst, rt0) #ifdef MPLS case AF_MPLS: if (rt) - dst = (struct sockaddr *)rt->rt_gateway; + dst = rt_key(rt); else senderr(EHOSTUNREACH); |