Skip to content

Commit b5e2204

Browse files
committed
fix loopback adapter gw
1 parent a71947c commit b5e2204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/hnsclient/hnsclient_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func createHostNCApipaNetwork(
308308
IPAddress: hnsLoopbackAdapterIPAddress,
309309
PrefixLength: localIPConfiguration.IPSubnet.PrefixLength,
310310
},
311-
GatewayIPAddress: hnsLoopbackAdapterIPAddress,
311+
GatewayIPAddress: localIPConfiguration.GatewayIPAddress,
312312
}
313313
logger.Printf("Print interfaces before creating loopback adapter")
314314
LogNetworkInterfaces()

0 commit comments

Comments
 (0)