Skip to content

Commit

Permalink
Update pkg/nftables/networkpolicy.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gerrit <[email protected]>
  • Loading branch information
vknabel and Gerrit91 authored Apr 18, 2024
1 parent e5e4c1f commit daa8199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nftables/networkpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func clusterwideNetworkPolicyEgressDNSCacheRules(cache FQDNCache, logAcceptedCon
return nil, err
}
base := []string{"ip saddr == @cluster_prefixes", fmt.Sprintf("ip daddr { %s }", addr)}
comment := fmt.Sprintf("accept traffic for dns cache")
comment := fmt.Sprintf("accept intercepted traffic for dns cache")
return nftablesRules{
assembleDestinationPortRule(base, "tcp", []string{"53"}, logAcceptedConnections, comment+" tcp"),
assembleDestinationPortRule(base, "udp", []string{"53"}, logAcceptedConnections, comment+" udp"),
Expand Down

0 comments on commit daa8199

Please sign in to comment.