From b0e480771d29f7529f4fdbde4707ca02c650d154 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Fri, 7 Nov 2008 12:29:06 +0000 Subject: [PATCH] Trim var --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/system.inc b/etc/inc/system.inc index aefe2c5883..1254e55d64 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)); }