diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-07 20:20:35 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-07 20:20:43 +0100 |
commit | ba0bc25810d6e2a41e55ed5062b85d4580453b83 (patch) | |
tree | c212b1dfdc51ca1d7dd9a15cee67b3309a1459e7 /usr/local | |
parent | ad451a81b8008de3f6cb3e747c77794947cc18c7 (diff) | |
download | pfsense-ba0bc25810d6e2a41e55ed5062b85d4580453b83.zip pfsense-ba0bc25810d6e2a41e55ed5062b85d4580453b83.tar.gz |
split is deprecated move to explode
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase2.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_phase2.php b/usr/local/www/vpn_ipsec_phase2.php index b5ca42b..bbf273a 100644 --- a/usr/local/www/vpn_ipsec_phase2.php +++ b/usr/local/www/vpn_ipsec_phase2.php @@ -259,13 +259,13 @@ if ($_POST) { if (isset($pconfig['localid_address'])) $entered_local['address'] = $pconfig['localid_address']; if (isset($pconfig['localid_netbits'])) $entered_local['netbits'] = $pconfig['localid_netbits']; $entered_localid_data = ipsec_idinfo_to_cidr($entered_local, false, $pconfig['mode']); - list($entered_local_network, $entered_local_mask) = split("/", $entered_localid_data); + list($entered_local_network, $entered_local_mask) = explode('/', $entered_localid_data); $entered_remote = array(); $entered_remote['type'] = $pconfig['remoteid_type']; if (isset($pconfig['remoteid_address'])) $entered_remote['address'] = $pconfig['remoteid_address']; if (isset($pconfig['remoteid_netbits'])) $entered_remote['netbits'] = $pconfig['remoteid_netbits']; $entered_remoteid_data = ipsec_idinfo_to_cidr($entered_remote, false, $pconfig['mode']); - list($entered_remote_network, $entered_remote_mask) = split("/", $entered_remoteid_data); + list($entered_remote_network, $entered_remote_mask) = explode('/', $entered_remoteid_data); if ($phase1['protocol'] == "inet6") { $if = get_failover_interface($phase1['interface'], "inet6"); $interfaceip = get_interface_ipv6($if); |