Fix save of negated dscp match rules
PATCH 1/1 Fix save of negated dscp match rules
As pointed out by Vyacheslav Garashchenko, iptables-save does not save negated dscp matches properly. Fix below.
This closes bugzilla #533.
Phil
Signed-off-by Phil Oester <[email protected]>
extensions/libxt_dscp.c +1 -1
@@ -119,7 +119,7 @@ print_dscp(u_int8_t dscp, int invert, int numeric) { if (invert) - fputc('!', stdout); + printf("! "); printf("0x%02x ", dscp); }
Patrick McHardy
AppliedQuoted 4 lines · Phil Oester
As pointed out by Vyacheslav Garashchenko, iptables-save does not save negated dscp matches properly. Fix below.
This closes bugzilla #533.
Applied, thanks.