Commit Diff


commit - 6f397d55c56bdeb1f3da990e07eaaca570cc30c7
commit + 5c2b78f6a8717367294a69c8c39532681130d83b
blob - 60bae341e22fed0657421b0c7b2747e89060c99b
blob + 849a2d3c3bf70d625b361aa41f8d3b09cbff63fd
--- http-ban.sh
+++ http-ban.sh
@@ -29,7 +29,7 @@ access() {
 }
 
 apply_whitelist() {
-	GF=$(for ip in $(printf %s\\n $QUICK_WHITELIST); do printf -- '-ve %s\n' "$ip"; done)
+	GF=$(for ip in $(printf %s\\n $QUICK_WHITELIST); do printf -- '-ve "%s" ' "$ip"; done)
 	GF=${GF:-'.*'}
 	grep $GF
 }