Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
  • Loading branch information
aznashwan committed Nov 1, 2023
1 parent 9113d39 commit bad6365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utilities/connectivity_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func CreateGatewayEp(t *testing.T, networkId string, ipAddress string, ipv6Adres
if gatwayInterfaceName == "" {
gatwayInterfaceName = DefaultGatewayInterfaceName
}
vEthernetName := fmt.Sprintf(`"vEthernet (%s)"`, gatwayInterfaceName)
vEthernetName := fmt.Sprintf("vEthernet (%s)", strings.Trim(gatwayInterfaceName, `"'`))
t.Logf("Setting up gateway ep on interface %q", vEthernetName)

cmd := exec.Command("netsh", "int", "ipv4", "set", "int", vNicName, "for=en")
Expand Down

0 comments on commit bad6365

Please sign in to comment.