Need to set the proper flag bit when inserting ARP

entries into the kernel.

MFC after:	3 days
This commit is contained in:
Qing Li 2010-03-18 00:23:39 +00:00
parent 41ded75de8
commit 78f3ac9cdb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205272

View File

@ -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;