diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 07:27:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-19 07:27:49 +0000 |
commit | 2b77cdea0258aff734bca3b01b85c97bd1a15f36 (patch) | |
tree | d83d57632a99f7e43ca389515f8e4ccf57d7b502 /etc/inc/pfsense-utils.inc | |
parent | 86feb886b57a52fdceeda653fdfa7ca43b4cfbc2 (diff) | |
download | pfsense-2b77cdea0258aff734bca3b01b85c97bd1a15f36.zip pfsense-2b77cdea0258aff734bca3b01b85c97bd1a15f36.tar.gz |
back out .n1 make sure -f2 argument is against -f
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 70da735..3fce431 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -127,7 +127,7 @@ function convert_ip_to_network_format($ip, $subnet) { * find_interface_ip($interface): return the interface ip (first found) */ function find_interface_ip($interface) { - $ip = exec_command("/sbin/ifconfig {$interface} | grep \"inet \" | cut -n1 -d\" \" -f 2"); + $ip = exec_command("/sbin/ifconfig {$interface} | grep \"inet \" | cut -d\" \" -f2"); return $ip; } |