diff options
author | Qing Li <qingli@FreeBSD.org> | 2010-03-18 00:23:39 +0000 |
---|---|---|
committer | Qing Li <qingli@FreeBSD.org> | 2010-03-18 00:23:39 +0000 |
commit | 78f3ac9cdb51996b45d35b45c903e557aed8c7c1 (patch) | |
tree | 3b65e623943492f781bdc7f051c7a98ef78d88b9 /usr.sbin | |
parent | 41ded75de8eae61ebaaa4e8c21dafde14a84ad5a (diff) | |
download | src-78f3ac9cdb51996b45d35b45c903e557aed8c7c1.tar.gz src-78f3ac9cdb51996b45d35b45c903e557aed8c7c1.zip |
Need to set the proper flag bit when inserting ARP
entries into the kernel.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=205272
Diffstat (limited to 'usr.sbin')
-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 02dce51ab504..e67f89bea8ad 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; |