Skip to content

Commit

Permalink
lwAFTR configures ARP and NDP with shared_next_mac_key
Browse files Browse the repository at this point in the history
Hopefully fixes snabbco#981.
  • Loading branch information
wingo committed Sep 28, 2017
1 parent c72c6c2 commit f66b085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/program/lwaftr/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,14 @@ function lwaftr_app(c, conf)
{ self_ip = iinternal_interface.ip,
self_mac = iinternal_interface.mac,
next_mac = iinternal_interface.next_hop.mac,
shared_next_mac_key = "group/ipv6-next-mac",
next_ip = iinternal_interface.next_hop.ip,
alarm_notification = conf.alarm_notification })
config.app(c, "arp", arp.ARP,
{ self_ip = convert_ipv4(iexternal_interface.ip),
self_mac = iexternal_interface.mac,
next_mac = iexternal_interface.next_hop.mac,
shared_next_mac_key = "group/ipv4-next-mac",
next_ip = convert_ipv4(iexternal_interface.next_hop.ip),
alarm_notification = conf.alarm_notification })

Expand Down

0 comments on commit f66b085

Please sign in to comment.