Skip to content

Commit 16306a6

Browse files
author
OpenShift Bot
authored
Merge pull request #11673 from danwinship/fix-egress-network-policy
Merged by openshift-bot
2 parents 9a78336 + 757d272 commit 16306a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sdn/plugin/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func (plugin *OsdnNode) updateEgressNetworkPolicyRules(vnid uint32) error {
373373
}
374374

375375
var dst string
376-
if rule.To.CIDRSelector == "0.0.0.0/32" {
376+
if rule.To.CIDRSelector == "0.0.0.0/0" {
377377
dst = ""
378378
} else {
379379
dst = fmt.Sprintf(", nw_dst=%s", rule.To.CIDRSelector)

0 commit comments

Comments
 (0)