diff options
author | qingli <qingli@FreeBSD.org> | 2010-03-18 00:23:39 +0000 |
---|---|---|
committer | qingli <qingli@FreeBSD.org> | 2010-03-18 00:23:39 +0000 |
commit | 6590bbf7a78ac4d6646ec47bee5772de3bdf0f25 (patch) | |
tree | 3b65e623943492f781bdc7f051c7a98ef78d88b9 | |
parent | d27802f97a217c556ca63d8df9ebc1b6d15ccd19 (diff) | |
download | FreeBSD-src-6590bbf7a78ac4d6646ec47bee5772de3bdf0f25.zip FreeBSD-src-6590bbf7a78ac4d6646ec47bee5772de3bdf0f25.tar.gz |
Need to set the proper flag bit when inserting ARP
entries into the kernel.
MFC after: 3 days
-rw-r--r-- | usr.sbin/ppp/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index 02dce51..e67f89b 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -119,7 +119,7 @@ arp_ProxySub(struct bundle *bundle, struct in_addr addr, int add) return 0; } arpmsg.hdr.rtm_type = add ? RTM_ADD : RTM_DELETE; - arpmsg.hdr.rtm_flags = RTF_ANNOUNCE | RTF_HOST | RTF_STATIC; + arpmsg.hdr.rtm_flags = RTF_ANNOUNCE | RTF_HOST | RTF_STATIC | RTF_LLDATA; arpmsg.hdr.rtm_version = RTM_VERSION; arpmsg.hdr.rtm_seq = ++bundle->routing_seq; arpmsg.hdr.rtm_addrs = RTA_DST | RTA_GATEWAY; |