fix status output (number of # in headers)

This commit is contained in:
Jérémy Lecour 2022-05-10 15:52:26 +02:00 committed by Jérémy Lecour
parent c4ec8c9ac0
commit 94ea1fccbd
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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