summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-11-26 18:38:42 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-11-26 18:38:42 -0200
commita5249874001fa4ce91704ee1cc1891c0eb246025 (patch)
treed1c590ba9c3c2884eb99d8939b34dc126a47fbd0 /usr/local/www/system_routes_edit.php
parentc83d04dcef93b05da5a3ece99aa53ee8ece341f2 (diff)
downloadpfsense-a5249874001fa4ce91704ee1cc1891c0eb246025.zip
pfsense-a5249874001fa4ce91704ee1cc1891c0eb246025.tar.gz
Stop sorting static routed and leave user decide the order
Diffstat (limited to 'usr/local/www/system_routes_edit.php')
-rwxr-xr-xusr/local/www/system_routes_edit.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index 110375b..4fc531e 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -39,19 +39,6 @@
##|*MATCH=system_routes_edit.php*
##|-PRIV
-function staticroutecmp($a, $b) {
- return strcmp($a['network'], $b['network']);
-}
-
-function staticroutes_sort() {
- global $g, $config;
-
- if (!is_array($config['staticroutes']['route']))
- return;
-
- usort($config['staticroutes']['route'], "staticroutecmp");
-}
-
require_once("guiconfig.inc");
require_once("filter.inc");
require_once("util.inc");
@@ -209,7 +196,6 @@ if ($_POST) {
}
}
file_put_contents("{$g['tmp_path']}/.system_routes.apply", serialize($toapplylist));
- staticroutes_sort();
mark_subsystem_dirty('staticroutes');
OpenPOWER on IntegriCloud