Change log level to 3 when --random-fully is not supported

This commit is contained in:
libnux 2019-12-24 17:47:27 +08:00
parent 15344433f2
commit f0e01bcfde

View File

@ -869,7 +869,7 @@ func (proxier *Proxier) syncProxyRules() {
masqRule = append(masqRule, "--random-fully")
klog.V(3).Info("Using `--random-fully` in the MASQUERADE rule for iptables")
} else {
klog.V(2).Info("Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it")
klog.V(3).Info("Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it")
}
writeLine(proxier.natRules, masqRule...)