Need to set the proper flag bit when inserting ARP
entries into the kernel. MFC after: 3 days
This commit is contained in:
parent
41ded75de8
commit
78f3ac9cdb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205272
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user