File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ const (
5353 // Name of the loopback adapter needed to create Host NC apipa network
5454 hostNCLoopbackAdapterName = "LoopbackAdapterHostNCConnectivity"
5555
56+ // Name of the loopback adapter needed to search for Host NC apipa network
57+ vEthernethostNCLoopbackAdapterName = "vEthernet (LoopbackAdapterHostNCConnectivity)"
58+
5659 // protocolTCP indicates the TCP protocol identifier in HCN
5760 protocolTCP = "6"
5861
@@ -298,7 +301,7 @@ func createHostNCApipaNetwork(
298301 }
299302
300303 // Create loopback adapter needed for this HNS network
301- if interfaceExists , _ := networkcontainers .InterfaceExists (hostNCLoopbackAdapterName ); ! interfaceExists {
304+ if interfaceExists , _ := networkcontainers .InterfaceExists (vEthernethostNCLoopbackAdapterName ); ! interfaceExists {
302305 ipconfig := cns.IPConfiguration {
303306 IPSubnet : cns.IPSubnet {
304307 IPAddress : localIPConfiguration .GatewayIPAddress ,
You can’t perform that action at this time.
0 commit comments