Skip to content

Commit b773fee

Browse files
committed
use node network interface frontend nic
1 parent ee8dde1 commit b773fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/endpoint_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (nw *network) newEndpointImpl(
172172
if epInfo.NICType == cns.BackendNIC {
173173
return nw.getEndpointWithVFDevice(plc, epInfo)
174174
}
175-
if epInfo.NICType == cns.DelegatedVMNIC {
175+
if epInfo.NICType == cns.NodeNetworkInterfaceFrontendNIC {
176176
// use master interface name, interface name, or adapter name?
177177
if err := nw.sendDHCPDiscoverOnSecondary(dhcpc, epInfo.MacAddress, epInfo.MasterIfName); err != nil {
178178
return nil, err

0 commit comments

Comments
 (0)