summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:29:06 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-07 12:29:06 +0000
commitb0e480771d29f7529f4fdbde4707ca02c650d154 (patch)
tree7c4dbe199f924704b646dc0d02865026f484f96e /etc
parent6e867889b4774ba1b643ee92a74b5ec0eae73ab1 (diff)
downloadpfsense-b0e480771d29f7529f4fdbde4707ca02c650d154.zip
pfsense-b0e480771d29f7529f4fdbde4707ca02c650d154.tar.gz
Trim var
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index aefe2c5..1254e55 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -241,7 +241,7 @@ function system_routing_configure() {
return 1;
}
while (!feof($fd)) {
- $oldrt = fgets($fd);
+ $oldrt = trim(fgets($fd));
if (($oldrt) && (stristr($route_str, $oldrt)))
mwexec("/sbin/route delete " . escapeshellarg($oldrt));
}
OpenPOWER on IntegriCloud