cilium
cilium copied to clipboard
[v1.15] iptables: Do not install NOTRACK rules if IPv4NativeRoutingCIDR is nil
In case IPv4NativeRoutingCIDR is left unspecified, the related config option will be nil. To avoid panicking, check for this case before converting the CIDR to a string. Moreover, do not try to run the iptables command to install the NOTRACK rules if the resulting string is empty.
Fixes: #32607
/test-backport-1.15
/test-backport-1.15
/test-backport-1.15