summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2010-11-10 14:34:56 +0100
committerSeth Mos <seth.mos@dds.nl>2010-11-10 14:34:56 +0100
commitfe73e93f4c3abe3a1f3e1e05b481191d46205e90 (patch)
treedcda994db6d75ea8bedc683125de755eccb16056 /etc/inc/system.inc
parentf09ce147d6f791ac0f3a2a3348edd03a24b147cc (diff)
downloadpfsense-fe73e93f4c3abe3a1f3e1e05b481191d46205e90.zip
pfsense-fe73e93f4c3abe3a1f3e1e05b481191d46205e90.tar.gz
check the correct routing table array otherwise we can never change the default route
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 4bcc9e0..7df25a3 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -397,11 +397,10 @@ function system_routing_configure($interface = "") {
array_shift($routev6_str);
array_shift($routev6_str);
array_shift($routev6_str);
- array_shift($routev6_str);
$routev6_arr = array();
foreach($routev6_str as $routeline) {
$items = preg_split("/[ ]+/i", $routeline);
- $route_arr[$items[0]] = array($items[0], $items[1], $items[5]);
+ $routev6_arr[$items[0]] = array($items[0], $items[1], $items[5]);
}
if ($dont_add_route == false ) {
OpenPOWER on IntegriCloud