Skip to content

Commit c7aed39

Browse files
askyrieSongZhen0704
authored andcommitted
Revert "fix: dedicated vtap func"
This reverts commit 461dd60.
1 parent 37cfc74 commit c7aed39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/controller/trisolaris/vtap/vtap_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ func (c *VTapCache) unsetLicenseFunctionEnable() {
477477
func (c *VTapCache) convertLicenseFunctions() {
478478
v := c.vTapInfo
479479
c.unsetLicenseFunctionEnable()
480-
if c.GetVTapType() != common.VTAP_TYPE_DEDICATED && c.GetOwner() == common.VTAP_OWNER_DEEPFLOW {
480+
if c.GetVTapType() == common.VTAP_TYPE_DEDICATED || c.GetOwner() == common.VTAP_OWNER_DEEPFLOW {
481481
c.enabledNetNpb.Set()
482482
c.enabledNetNpmd.Set()
483483
c.enabledNetDpdk.Set()

0 commit comments

Comments
 (0)