From 3e6ec921910049845c131dd20a17a885f75fa61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 28 Jul 2009 09:31:18 +0000 Subject: It is printf and not print. Thanks-To: merlin from forums for spotting it. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') 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; -- cgit v1.1