Skip to content

Commit db64cfa

Browse files
committed
remote address should always be .1
1 parent b470f25 commit db64cfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cns/hnsclient/hnsclient_windows.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const (
5454

5555
defaultHnsGwIPAddress = "169.254.128.2"
5656
hnsLoopbackAdapterIPAddress = "169.254.128.1"
57+
apipaRemoteIPAddress = "169.254.128.1"
5758
// protocolTCP indicates the TCP protocol identifier in HCN
5859
protocolTCP = "6"
5960

@@ -508,7 +509,7 @@ func configureHostNCApipaEndpoint(
508509
endpointPolicies, err := configureAclSettingHostNCApipaEndpoint(
509510
protocolList,
510511
networkContainerApipaIP,
511-
hostApipaIP,
512+
apipaRemoteIPAddress,
512513
allowNCToHostCommunication,
513514
allowHostToNCCommunication,
514515
ncPolicies)

0 commit comments

Comments
 (0)