From 2f052a25a3a2b97b6a364f89f9c51816ce7ed2fc Mon Sep 17 00:00:00 2001 From: Zachary Seguin Date: Thu, 29 Nov 2018 14:21:51 -0500 Subject: [PATCH] Fix egress port iptables rule when no ports are specified --- npm/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/parse.go b/npm/parse.go index 40708fa8fd..58f72e2f0b 100644 --- a/npm/parse.go +++ b/npm/parse.go @@ -423,7 +423,7 @@ func parseEgress(ns string, targetSets []string, rules []networkingv1.NetworkPol util.IptablesSetFlag, util.IptablesMatchSetFlag, hashedTargetSetName, - util.IptablesDstFlag, + util.IptablesSrcFlag, util.IptablesJumpFlag, util.IptablesAzureEgressToChain, },