fix status output (number of # in headers)
This commit is contained in:
parent
c4ec8c9ac0
commit
94ea1fccbd
|
@ -13,6 +13,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* status output (number of # in headers)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [22.04] - 2022-04-28
|
## [22.04] - 2022-04-28
|
||||||
|
|
|
@ -989,7 +989,7 @@ stop() {
|
||||||
status() {
|
status() {
|
||||||
printf "${BLUE}#### iptables --list ###############################${RESET}\n"
|
printf "${BLUE}#### iptables --list ###############################${RESET}\n"
|
||||||
${IPT} --list --numeric --verbose --line-numbers
|
${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
|
${IPT} --table nat --list --numeric --verbose --line-numbers
|
||||||
printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n"
|
printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n"
|
||||||
${IPT} --table mangle --list --numeric --verbose --line-numbers
|
${IPT} --table mangle --list --numeric --verbose --line-numbers
|
||||||
|
@ -1004,7 +1004,7 @@ status() {
|
||||||
status_without_numbers() {
|
status_without_numbers() {
|
||||||
printf "${BLUE}#### iptables --list ###############################${RESET}\n"
|
printf "${BLUE}#### iptables --list ###############################${RESET}\n"
|
||||||
${IPT} --list --numeric
|
${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
|
${IPT} --table nat --list --numeric
|
||||||
printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n"
|
printf "\n${BLUE}#### iptables --table mangle --list ################${RESET}\n"
|
||||||
${IPT} --table mangle --list --numeric
|
${IPT} --table mangle --list --numeric
|
||||||
|
|
Loading…
Reference in a new issue