summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-07-24 03:45:05 +0000
committerBill Marquette <billm@pfsense.org>2005-07-24 03:45:05 +0000
commita03e3c1f6449f9a2748ec1212adde41b1652e119 (patch)
treebd99cbfcd111064dd7a4c1fa0eb9802209ae7cde
parentc68fc1e7aba950da804fe87d5bac1b83aae1a36b (diff)
downloadpfsense-a03e3c1f6449f9a2748ec1212adde41b1652e119.zip
pfsense-a03e3c1f6449f9a2748ec1212adde41b1652e119.tar.gz
move IP TOS and TCP FLAGS to globals.inc now that filter_reconfigure
might be run outside of the gui
-rw-r--r--etc/inc/globals.inc9
-rwxr-xr-xusr/local/www/guiconfig.inc6
2 files changed, 8 insertions, 7 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index d0b9803..fab858e 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -59,4 +59,11 @@ $g = array(
"wireless_regex" => "/^(wi|ath|an)/"
);
-?> \ No newline at end of file
+/* IP TOS flags */
+$iptos = array("lowdelay", "throughput", "reliability", "congestion");
+
+/* TCP flags */
+$tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
+
+
+?>
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index c3a914d..6baeace 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -90,12 +90,6 @@ if (file_exists($d_firmwarelock_path)) {
$wkports = array(3389 => "MS RDP", 21 => "FTP", 22 => "SSH", 23 => "Telnet", 25 => "SMTP",
53 => "DNS", 80 => "HTTP", 110 => "POP3", 143 => "IMAP", 443 => "HTTPS");
-/* IP TOS flags */
-$iptos = array("lowdelay", "throughput", "reliability", "congestion");
-
-/* TCP flags */
-$tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
-
$specialnets = array("lan" => "LAN net", "pptp" => "PPTP clients");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
OpenPOWER on IntegriCloud