Skip to content

Commit 359ab1d

Browse files
authored
explicilty specify source IP to use when send traffic over tunnels (#428)
1 parent 2f39f98 commit 359ab1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controllers/routing/network_routes_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ func (nrc *NetworkRoutingController) injectRoute(path *table.Path) error {
400400

401401
route = &netlink.Route{
402402
LinkIndex: link.Attrs().Index,
403+
Src: nrc.nodeIP,
403404
Dst: dst,
404405
Protocol: 0x11,
405406
}

0 commit comments

Comments
 (0)