Skip to content

Commit

Permalink
Addressing merge issues for the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoodmsft committed Dec 5, 2017
1 parent f51feb1 commit 5ef6386
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dataplane/windows/policysets/policysets.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ func (s *PolicySets) protoRuleToHnsRules(policyId string, pRule *proto.Rule, isI
return nil, SkipRule
}

// Skip rules with name port ipsets
if len(pRule.SrcNamedPortIpSetIds) > 0 || len(pRule.DstNamedPortIpSetIds) > 0 {
log.WithField("rule", pRule).Info("Skipping rule because it contains named port ipsets (currently unsupported).")
return nil, SkipRule
}

// Filter the Src and Dst CIDRs to only the IP version that we're rendering
var filteredAll bool
ruleCopy := *pRule
Expand Down

0 comments on commit 5ef6386

Please sign in to comment.