diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-09 00:37:44 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-09 00:37:44 +0000 |
commit | 9f01cd8bafcbfce907fee67d42d4569622b52b47 (patch) | |
tree | 7a896ecd0f31609dce2c81bc51b34a7d6639921e | |
parent | a25b4a6e1a5963b74c272df3334ddbafeb727183 (diff) |
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@
-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); |