explicilty specify source IP to use when send traffic over tunnels (#428)

This commit is contained in:
Murali Reddy 2018-05-11 03:32:24 +05:30 committed by GitHub
parent 2f39f9833b
commit 359ab1d9a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,6 +400,7 @@ func (nrc *NetworkRoutingController) injectRoute(path *table.Path) error {
route = &netlink.Route{
LinkIndex: link.Attrs().Index,
Src: nrc.nodeIP,
Dst: dst,
Protocol: 0x11,
}