Drop extra space from nflog-prefix
iptables-1.8.8+[1] removed the extra space from nflog-prefix, and with switch to ubuntu noble which includes iptables-1.8.10 functional tests failing, removing the extra space fixes these tests. [1] http://git.netfilter.org/iptables/commit/?id=05286bab77a6e0f9502e8fb99e1c53ed15663f3f Related-Issue: #2080933 Change-Id: Id91be59ee78e2b94ea06bb5763e6a94d49de4b15
This commit is contained in:
parent
1d0a199682
commit
824469b13a
@ -511,8 +511,6 @@ class IptablesLoggingDriver(log_ext.LoggingDriver):
|
||||
match_rule += ['--limit-burst %s' % self.burst_limit]
|
||||
target = ['-j', 'NFLOG']
|
||||
if prefix:
|
||||
# NOTE: There is an extra space after 'nflog-prefix' in
|
||||
# iptables-save output, account for it here.
|
||||
target += ['--nflog-prefix', '%s' % prefix]
|
||||
|
||||
args = direction_config + match_rule + target
|
||||
|
Loading…
x
Reference in New Issue
Block a user