summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-07 20:18:40 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-07 20:18:50 +0100
commitcc9b3e07ee2f362beea5c77d2ecac0c812944d23 (patch)
tree97963fb2e491a958679f0a39477e9fa1856f2204
parent91456048a7527605673768f571a76d64e3f0e8b4 (diff)
downloadpfsense-cc9b3e07ee2f362beea5c77d2ecac0c812944d23.zip
pfsense-cc9b3e07ee2f362beea5c77d2ecac0c812944d23.tar.gz
split is deprecated move to explode
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index c69b588..0fb690c 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3559,7 +3559,7 @@ function DHCP6_Config_File_Advanced($interface, $wancfg, $wanif) {
$send_options = "";
if ($wancfg['adv_dhcp6_interface_statement_send_options'] != '') {
- $options = split(",", $wancfg['adv_dhcp6_interface_statement_send_options']);
+ $options = explode(',', $wancfg['adv_dhcp6_interface_statement_send_options']);
foreach ($options as $option) {
$send_options .= "\tsend " . trim($option) . ";\n";
}
@@ -3567,7 +3567,7 @@ function DHCP6_Config_File_Advanced($interface, $wancfg, $wanif) {
$request_options = "";
if ($wancfg['adv_dhcp6_interface_statement_request_options'] != '') {
- $options = split(",", $wancfg['adv_dhcp6_interface_statement_request_options']);
+ $options = explode(',', $wancfg['adv_dhcp6_interface_statement_request_options']);
foreach ($options as $option) {
$request_options .= "\trequest " . trim($option) . ";\n";
}
@@ -3817,7 +3817,7 @@ function DHCP_Config_File_Advanced($interface, $wancfg, $wanif) {
$send_options = "";
if ($wancfg['adv_dhcp_send_options'] != '') {
- $options = split(",", $wancfg['adv_dhcp_send_options']);
+ $options = explode(',', $wancfg['adv_dhcp_send_options']);
foreach ($options as $option) {
$send_options .= "\tsend " . trim($option) . ";\n";
}
@@ -3835,7 +3835,7 @@ function DHCP_Config_File_Advanced($interface, $wancfg, $wanif) {
$option_modifiers = "";
if ($wancfg['adv_dhcp_option_modifiers'] != '') {
- $modifiers = split(",", $wancfg['adv_dhcp_option_modifiers']);
+ $modifiers = explode(',', $wancfg['adv_dhcp_option_modifiers']);
foreach ($modifiers as $modifier) {
$option_modifiers .= "\t" . trim($modifier) . ";\n";
}
OpenPOWER on IntegriCloud