aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipblocklist/purgeip.tmp
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-11-21 11:03:19 -0500
committerTom Schaefer <tom@tomschaefer.org>2010-11-21 11:03:19 -0500
commitae0d47554b5a8a0c0c5d8bab70e4334840edae89 (patch)
tree9418e9a3df111e0f2a57265f90a2eae429e6609d /config/ipblocklist/purgeip.tmp
parent8608438108be0c8c9523fca5cfa45291d9c6cb2f (diff)
downloadpfsense-packages-ae0d47554b5a8a0c0c5d8bab70e4334840edae89.tar.gz
pfsense-packages-ae0d47554b5a8a0c0c5d8bab70e4334840edae89.tar.bz2
pfsense-packages-ae0d47554b5a8a0c0c5d8bab70e4334840edae89.zip
IP-Blocklist 3.0 fix for BETA2.0 and 1.2.3
Diffstat (limited to 'config/ipblocklist/purgeip.tmp')
-rw-r--r--[-rwxr-xr-x]config/ipblocklist/purgeip.tmp50
1 files changed, 25 insertions, 25 deletions
diff --git a/config/ipblocklist/purgeip.tmp b/config/ipblocklist/purgeip.tmp
index 449cb262..6ce36dfe 100755..100644
--- a/config/ipblocklist/purgeip.tmp
+++ b/config/ipblocklist/purgeip.tmp
@@ -1,26 +1,26 @@
-<?php
-$line = $_GET["line"];
-
-//echo("$line");
-//exec("more ips.ipfw > temp_ips.ipfw");
-if ($line == 0) {
- exec("rm wlists.txt");
- } else {
- exec("sed $line'd' wlists.txt > temp_wlists.txt");
- }
-exec("more temp_wlists.txt > wlists.txt");
-exec("rm temp_wlists.txt");
-
-
-?>
-<html>
-<HEAD>
-<SCRIPT language="JavaScript">
-<!--
-window.parent.location="ipblocklist.php";
-//-->
-</SCRIPT>
-</HEAD>
-
-
+<?php
+$line = $_GET["line"];
+
+//echo("$line");
+//exec("more ips.ipfw > temp_ips.ipfw");
+if ($line == 0) {
+ exec("rm wlists.txt");
+ } else {
+ exec("sed $line'd' wlists.txt > temp_wlists.txt");
+ }
+exec("more temp_wlists.txt > wlists.txt");
+exec("rm temp_wlists.txt");
+
+
+?>
+<html>
+<HEAD>
+<SCRIPT language="JavaScript">
+<!--
+window.parent.location="ipblocklist.php";
+//-->
+</SCRIPT>
+</HEAD>
+
+
</html> \ No newline at end of file