summaryrefslogtreecommitdiffstats
path: root/Bash
diff options
context:
space:
mode:
Diffstat (limited to 'Bash')
-rwxr-xr-xBash/iptables-whiteblacklisting.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bash/iptables-whiteblacklisting.sh b/Bash/iptables-whiteblacklisting.sh
index 6c13a4b..36f3c49 100755
--- a/Bash/iptables-whiteblacklisting.sh
+++ b/Bash/iptables-whiteblacklisting.sh
@@ -46,14 +46,14 @@ BLACKLISTING=()
#===============================================================================
# Define IPTables commands for IPv4 and IPv6
#===============================================================================
-IPTABLES_V4=$(which iptables)
-IPTABLES_V6=$(which ip6tables)
+IPTABLES_V4=iptables
+IPTABLES_V6=ip6tables
#===============================================================================
# Define IPTables-save commands for IPv4 and IPv6
#===============================================================================
-IPTABLES_SAVE_V4=$(which iptables-save)
-IPTABLES_SAVE_V6=$(which ip6tables-save)
+IPTABLES_SAVE_V4=iptables-save
+IPTABLES_SAVE_V6=ip6tables-save
#===============================================================================
# Wrapper function for IPTables with IPv4 and IPv6