diff options
| author | 2008-05-09 07:32:39 +0000 | |
|---|---|---|
| committer | 2008-05-09 07:32:39 +0000 | |
| commit | 04cbecec16765d80cdea3ccf79afbf111c5f940c (patch) | |
| tree | 42d6a27a758f43cf2dad25ea73abe84c38d74500 /sys/netinet | |
| parent | using the rtm_priority to translate priority number into nice name is (diff) | |
| download | wireguard-openbsd-04cbecec16765d80cdea3ccf79afbf111c5f940c.tar.xz wireguard-openbsd-04cbecec16765d80cdea3ccf79afbf111c5f940c.zip | |
arp entries in the routing table should have priority RTF_CONNECTED
ok claudio theo
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/if_ether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index d9220a22e16..5e4979d4c1c 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.71 2008/04/24 11:36:38 dlg Exp $ */ +/* $OpenBSD: if_ether.c,v 1.72 2008/05/09 07:32:39 henning Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -785,6 +785,7 @@ arplookup(addr, create, proxy) if (rt == 0) return (0); rt->rt_refcnt--; + rt->rt_priority = RTP_CONNECTED; if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 || rt->rt_gateway->sa_family != AF_LINK) { if (create) { |
