Skip to content

Commit 2579512

Browse files
authored
Merge pull request kubernetes#131492 from aroradaman/nftables-cleanup
nftables: cleanup service chain checks
2 parents 75f8545 + c7a8701 commit 2579512

File tree

2 files changed

+35
-37
lines changed

2 files changed

+35
-37
lines changed

pkg/proxy/nftables/proxier.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,6 @@ func (proxier *Proxier) syncProxyRules() {
15861586
Chain: internalTrafficChain,
15871587
Rule: knftables.Concat(
15881588
ipX, "daddr", svcInfo.ClusterIP(),
1589-
protocol, "dport", svcInfo.Port(),
15901589
"jump", markMasqChain,
15911590
),
15921591
})
@@ -1600,7 +1599,6 @@ func (proxier *Proxier) syncProxyRules() {
16001599
Chain: internalTrafficChain,
16011600
Rule: knftables.Concat(
16021601
ipX, "daddr", svcInfo.ClusterIP(),
1603-
protocol, "dport", svcInfo.Port(),
16041602
proxier.localDetector.IfNotLocalNFT(),
16051603
"jump", markMasqChain,
16061604
),

0 commit comments

Comments
 (0)