diff options
author | jim-p <jimp@pfsense.org> | 2012-02-01 13:27:55 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-02-01 13:28:53 -0500 |
commit | de5aec97024f73a891d1bcbef6958b17a32087cd (patch) | |
tree | 8e05db25a88b82ee0363c69f05bdf3115dfc0235 /etc | |
parent | c82b2c3f212e7c008146df624e0423d0f10770ab (diff) | |
download | pfsense-de5aec97024f73a891d1bcbef6958b17a32087cd.zip pfsense-de5aec97024f73a891d1bcbef6958b17a32087cd.tar.gz |
If the old bindlan option is there, assume the lan interface for binding.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/services.inc | 4 |
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'])) { |