Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cns/hnsclient/hnsclient_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func createHostNCApipaNetwork(
hostNCLoopbackAdapterName,
ipconfig,
false, /* Flag to setWeakHostOnInterface */
"" /* Empty primary Interface Identifier as setWeakHostOnInterface is not needed*/); err != nil {
"" /* Empty primary Interface Identifier as setWeakHostOnInterface is not needed*/); err != nil {
return nil, fmt.Errorf("Failed to create loopback adapter. Error: %v", err)
}

Expand Down Expand Up @@ -507,7 +507,6 @@ func configureHostNCApipaEndpoint(
}

networkContainerApipaIP := localIPConfiguration.IPSubnet.IPAddress
hostApipaIP := localIPConfiguration.GatewayIPAddress
protocolList := []string{protocolICMPv4, protocolTCP, protocolUDP}

endpointPolicies, err := configureAclSettingHostNCApipaEndpoint(
Expand All @@ -527,7 +526,7 @@ func configureHostNCApipaEndpoint(
}

hcnRoute := hcn.Route{
NextHop: hostApipaIP,
NextHop: hnsLoopbackAdapterIPAddress,
DestinationPrefix: "0.0.0.0/0",
}

Expand Down
Loading