From b14355ce2c7e91f2216fd11d666be21031c9d1fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krawczyk?= Date: Thu, 11 Feb 2016 15:42:17 +0000 Subject: [PATCH] remove bash syntax that doesn't work on OpenWRT --- blacklist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blacklist.sh b/blacklist.sh index c9f83c9..9a2d560 100755 --- a/blacklist.sh +++ b/blacklist.sh @@ -35,7 +35,7 @@ else LIMIT="10/minute" fi -function link_set { +link_set () { if [ "$3" = "log" ]; then iptables -A "$1" -m set --match-set "$2" src,dst -m limit --limit "$LIMIT" -j LOG --log-prefix "BLOCK $2 " fi