summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-02-01 13:27:55 -0500
committerjim-p <jimp@pfsense.org>2012-02-01 13:28:53 -0500
commitde5aec97024f73a891d1bcbef6958b17a32087cd (patch)
tree8e05db25a88b82ee0363c69f05bdf3115dfc0235 /etc/inc
parentc82b2c3f212e7c008146df624e0423d0f10770ab (diff)
downloadpfsense-de5aec97024f73a891d1bcbef6958b17a32087cd.zip
pfsense-de5aec97024f73a891d1bcbef6958b17a32087cd.tar.gz
If the old bindlan option is there, assume the lan interface for binding.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/services.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 61df803..5f6187f 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1501,6 +1501,10 @@ begemotSnmpdCommunityDisable = 1
EOD;
+ if (isset($config['snmpd']['bindlan'])) {
+ $config['snmpd']['bindip'] = 'lan';
+ unset($config['snmpd']['bindlan']);
+ }
$bind_to_ip = "0.0.0.0";
if(isset($config['snmpd']['bindip'])) {
if (is_ipaddr($config['snmpd']['bindip'])) {
OpenPOWER on IntegriCloud