diff options
author | Phil Sutter <phil@nwl.cc> | 2022-10-01 00:15:35 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-10-02 01:35:20 +0200 |
commit | 262dff31a998ef8e2507bbfd9349d761769888da (patch) | |
tree | 450ebbccab99ab516f9f689b757ed60ca2263ca3 /extensions | |
parent | fca04aa7a53252464c289997e71de10189971da6 (diff) |
extensions: libebt_stp: Eliminate duplicate space in output
No need for print_range() to print a trailing whitespace, caller does
this already.
Fixes: fd8d7d7e5d911 ("ebtables-nft: add stp match")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libebt_stp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libebt_stp.c b/extensions/libebt_stp.c index 3e9e2447..41059baa 100644 --- a/extensions/libebt_stp.c +++ b/extensions/libebt_stp.c @@ -146,9 +146,9 @@ out: static void print_range(unsigned int l, unsigned int u) { if (l == u) - printf("%u ", l); + printf("%u", l); else - printf("%u:%u ", l, u); + printf("%u:%u", l, u); } static int |