summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-05 17:45:48 +0100
committerPhil Sutter <phil@nwl.cc>2021-11-23 15:01:23 +0100
commitb5881e7f22d42a8b00acbdbab296b71572ddb903 (patch)
treea6b2d0229c82398d3960d86a221e462098666060 /iptables/nft-arp.c
parent1189d830ea4fd269da87761d400ebabca02e1ef3 (diff)
nft: Change whitespace printing in save_rule callback
This aligns whitespace printing with legacy iptables' print_rule4() in order to prepare for further code-sharing. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-arp.c')
-rw-r--r--iptables/nft-arp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c
index 32eb91ad..b7536e61 100644
--- a/iptables/nft-arp.c
+++ b/iptables/nft-arp.c
@@ -479,6 +479,7 @@ nft_arp_save_rule(const void *data, unsigned int format)
format |= FMT_NUMERIC;
+ printf(" ");
nft_arp_print_rule_details(cs, format);
if (cs->target && cs->target->save)
cs->target->save(&cs->fw, cs->target->t);