mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Trim var
This commit is contained in:
parent
6e867889b4
commit
b0e480771d
@ -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));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user