diff options
author | ccesario <carloscesario@gmail.com> | 2012-06-30 09:54:28 -0300 |
---|---|---|
committer | ccesario <carloscesario@gmail.com> | 2012-06-30 09:54:28 -0300 |
commit | f1bdc4e3a5961aaf585d2b60b2da113681534b17 (patch) | |
tree | a33c4b236216bd3b0a31a1742b1887c58d94ea04 /etc | |
parent | 36e77fa968db0648c82fc2f83d2219591bd311d9 (diff) | |
download | pfsense-f1bdc4e3a5961aaf585d2b60b2da113681534b17.zip pfsense-f1bdc4e3a5961aaf585d2b60b2da113681534b17.tar.gz |
Change ereg() to preg_match() function
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.console.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.console.inc b/etc/inc/config.console.inc index aaf54f3..78ad524 100644 --- a/etc/inc/config.console.inc +++ b/etc/inc/config.console.inc @@ -69,7 +69,7 @@ function set_networking_interfaces_ports() { $key = null; /* Only present auto interface option if running from LiveCD and interface mismatch*/ - if ((ereg("cdrom", $g['platform'])) && is_interface_mismatch()) + if ((preg_match("/cdrom/", $g['platform'])) && is_interface_mismatch()) $auto_assign = false; echo <<<EOD |