summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-18 19:50:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-18 19:50:07 +0000
commitfa15ea86342636da3e80429aeeb303ca0fd0b74b (patch)
treeb5f8860f8770a4fed282dfbc06818ffb84c24922 /etc
parentccf95b5a8aa19d508f19933998994a314cda8a66 (diff)
downloadpfsense-fa15ea86342636da3e80429aeeb303ca0fd0b74b.zip
pfsense-fa15ea86342636da3e80429aeeb303ca0fd0b74b.tar.gz
Do not carriage return in the middle of a shell command
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index e155eac..4ca6445 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1284,8 +1284,7 @@ function find_interface_ip($interface, $flush = false) {
}
function guess_interface_from_ip($ipaddress) {
- $ret = exec_command("/sbin/route -n get {$ipaddress} | /usr/bin/grep interface | /usr/bin/awk '{ print \$2
-; };'");
+ $ret = exec_command("/sbin/route -n get {$ipaddress} | /usr/bin/grep interface | /usr/bin/awk '{ print \$2; };'");
return $ret;
}
OpenPOWER on IntegriCloud