Skip to content

Commit 43dcea3

Browse files
authored
Add via interface
Resolves #33 and finally makes domain switches of nodes possible without cleanup
1 parent 01af70a commit 43dcea3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wgkex/worker/netlink.py

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def bridge_fdb_handler(client: WireGuardClient) -> Dict:
119119
ifindex=ip.link_lookup(ifname=client.vx_interface)[0],
120120
lladdr="00:00:00:00:00:00",
121121
dst=re.sub(r"/\d+$", "", client.lladdr),
122+
NDA_IFINDEX=ip.link_lookup(ifname=client.wg_interface)[0]
122123
)
123124

124125

0 commit comments

Comments
 (0)