From 94ea1fccbd566a260c10bc3b56989b838503cd43 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 10 May 2022 15:52:26 +0200 Subject: [PATCH] fix status output (number of # in headers) --- CHANGELOG.md | 2 ++ minifirewall | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5db76f0..fe6ead4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Fixed +* status output (number of # in headers) + ### Security ## [22.04] - 2022-04-28 diff --git a/minifirewall b/minifirewall index f383d87..a40a6b6 100755 --- a/minifirewall +++ b/minifirewall @@ -989,7 +989,7 @@ stop() { status() { printf "${BLUE}#### iptables --list ###############################${RESET}\n" ${IPT} --list --numeric --verbose --line-numbers - printf "\n${BLUE}### iptables --table nat --list ####################${RESET}\n" + printf "\n${BLUE}#### iptables --table nat --list ###################${RESET}\n" ${IPT} --table nat --list --numeric --verbose --line-numbers printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n" ${IPT} --table mangle --list --numeric --verbose --line-numbers @@ -1004,7 +1004,7 @@ status() { status_without_numbers() { printf "${BLUE}#### iptables --list ###############################${RESET}\n" ${IPT} --list --numeric - printf "\n${BLUE}### iptables --table nat --list ####################${RESET}\n" + printf "\n${BLUE}#### iptables --table nat --list ###################${RESET}\n" ${IPT} --table nat --list --numeric printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n" ${IPT} --table mangle --list --numeric