Skip to content

Commit 5424d04

Browse files
committed
adjust comment
1 parent f4a3c9b commit 5424d04

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cns/hnsclient/hnsclient_windows.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,8 @@ func CreateHostNCApipaEndpoint(
609609
}
610610

611611
// adjustIPConfig applies change on gw IP address.
612-
// currently cns using the same ip address "169.254.128.1" for both apipa gw and loopback adapter. This cause conflict
613-
// issue when hns get restarted and not able to rehydrate the apipa endpoints. This func is to overwrite the address to 169.254.128.2
614-
// when the gateway address is 169.254.128.1
612+
// Currently, cns using the same ip address "169.254.128.1" for both apipa gw and loopback adapter. This cause conflict issue when hns get restarted and not able to rehydrate the apipa endpoints.
613+
// This func is to overwrite the address to 169.254.128.2 when the gateway address is 169.254.128.1
615614
func adjustIPConfig(localIPConfiguration *cns.IPConfiguration) {
616615
// When gw address is 169.254.128.1, should use .2 instead. If gw address is not .1, that mean this value is
617616
// configured from dnc, we should keep it

0 commit comments

Comments
 (0)