summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-01 15:13:04 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-01 15:13:04 +0000
commitc0481e1cb5ce9943a2c381f34d766440b71054aa (patch)
treee593680ab0b3de5984b04db8c597f3eb935d46ab /etc/inc/system.inc
parent1dd1e41fc2503fc9e77df4a91ec4e1dda5bea0be (diff)
downloadpfsense-c0481e1cb5ce9943a2c381f34d766440b71054aa.zip
pfsense-c0481e1cb5ce9943a2c381f34d766440b71054aa.tar.gz
Fix several handling of gif/gre addresses and automatically added routes.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 9d60d26..2c8291d 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -360,7 +360,7 @@ function system_routing_configure() {
$gatewayip = $rtent['gateway'];
$interfacegw = $rtent['interface'];
}
- if((isset($rtent['interfacegateway'])) && (! is_ipaddr($gatewayip))){
+ if((isset($rtent['interfacegateway'])) && (! is_ipaddr($gatewayip))) {
mwexec("/sbin/route add " . escapeshellarg($rtent['network']) .
" -iface " . escapeshellarg(convert_friendly_interface_to_real_interface_name($interfacegw)));
} else {
@@ -1356,4 +1356,4 @@ function enable_watchdog() {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud