Skip to content
Snippets Groups Projects
Commit 010757a1 authored by Bob Mottram's avatar Bob Mottram
Browse files

Firewall name

parent 91090df0
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment