Update 'firewall/firewall-add'

Added debug lines into files
This commit is contained in:
Gyorgy Berenyi
2023-08-23 08:31:35 +00:00
parent 12ce6a9fa3
commit de23694368

View File

@@ -3,7 +3,9 @@
# Debugging function # Debugging function
debug() { debug() {
if [ $DEBUG -eq 1 ]; then if [ $DEBUG -eq 1 ]; then
echo "DEBUG: "$1 $2 $3 echo `date`" DEBUG: "$1 $2 $3
else
echo `date`" DEBUG: "$1 $2 $3 >> /var/log/iptables.log;
fi; fi;
} }