Firewall name
This commit is contained in:
parent
91090df05f
commit
010757a1d2
|
@ -1516,7 +1516,7 @@ function show_firewall {
|
|||
while read line; do
|
||||
firewall_name=$(echo "$line" | awk -F '=' '{print $1}')
|
||||
firewall_port=$(echo "$line" | awk -F '=' '{print $2}')
|
||||
echo -n -e "$(pad_string \"${firewall_name}\")"
|
||||
echo -n -e "$(pad_string ${firewall_name})"
|
||||
echo "${firewall_port}"
|
||||
done < $FIREWALL_CONFIG
|
||||
any_key
|
||||
|
|
|
@ -305,7 +305,7 @@ function mesh_firewall {
|
|||
}
|
||||
|
||||
function firewall_add {
|
||||
firewall_name="$1"
|
||||
firewall_name=$(echo "$1" | sed "s| |-|g")
|
||||
firewall_port=$2
|
||||
firewall_protocol="$3"
|
||||
|
||||
|
|
Loading…
Reference in New Issue