aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2012-10-30 20:43:47 -0700
committerChris Buechler <cmb@pfsense.org>2012-10-30 20:43:47 -0700
commit445f2a63daf0a7b1120dd0ad66461d3b8ffd10c1 (patch)
treeef3555bc929ec7ede20a73444e8e715e203cf9f3
parentd9fb956f9bc179af776b47fe2d81402990fd182a (diff)
parentf01010badde23391094dc5583cea6a54bf4bbf89 (diff)
downloadpfsense-packages-445f2a63daf0a7b1120dd0ad66461d3b8ffd10c1.tar.gz
pfsense-packages-445f2a63daf0a7b1120dd0ad66461d3b8ffd10c1.tar.bz2
pfsense-packages-445f2a63daf0a7b1120dd0ad66461d3b8ffd10c1.zip
Merge pull request #331 from phil-davis/patch-1
bandwidthd - replace deprecated split with explode
-rw-r--r--config/bandwidthd/bandwidthd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 69724a96..34532c18 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -97,7 +97,7 @@ function bandwidthd_install_config() {
log_error("You should specify an interface for bandwidthd to listen on. Exiting.");
}
- $subnets_custom = split(';',str_replace(' ','',$config['installedpackages']['bandwidthd']['config'][0]['subnets_custom']));
+ $subnets_custom = explode(';',str_replace(' ','',$config['installedpackages']['bandwidthd']['config'][0]['subnets_custom']));
/* initialize to "" */
$subnets = "";