summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-28 09:31:18 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-28 09:31:18 +0000
commit3e6ec921910049845c131dd20a17a885f75fa61c (patch)
tree0e0b2c75e3d88812aa5ff545e4750136bcaadfe7 /etc/inc
parente78901cd168c736b4c3eca1108fb8275b5188c07 (diff)
downloadpfsense-3e6ec921910049845c131dd20a17a885f75fa61c.zip
pfsense-3e6ec921910049845c131dd20a17a885f75fa61c.tar.gz
It is printf and not print. Thanks-To: merlin from forums for spotting it.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 44e11b2..4a103dd 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2185,7 +2185,7 @@ function get_real_interface($interface = "wan") {
}
function guess_interface_from_ip($ipaddress) {
- $ret = `/usr/bin/netstat -rn | /usr/bin/awk '/^{$ipaddress}/ {print "%s", \$6}'`;
+ $ret = `/usr/bin/netstat -rn | /usr/bin/awk '/^{$ipaddress}/ {printf "%s", \$6}'`;
if (empty($ret))
return false;
OpenPOWER on IntegriCloud