summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-18 18:32:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-18 18:32:53 +0000
commit1df27a05f28853397cb756f28df5f73dc87532d2 (patch)
tree291d50f2709235c530cd024184843ba758d046d6 /usr
parent85d73b995e83f090f6ad705d7216fba183502578 (diff)
downloadpfsense-1df27a05f28853397cb756f28df5f73dc87532d2.zip
pfsense-1df27a05f28853397cb756f28df5f73dc87532d2.tar.gz
Restart snmp services after LAN IP changes
Ticket #1453
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_lan.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index a7c0667..fdcef86 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -126,6 +126,9 @@ if ($_POST) {
touch($d_landirty_path);
+ /* restart snmp so that it binds to correct address */
+ services_snmpd_configure();
+
if ($_POST['apply'] <> "") {
unlink($d_landirty_path);
OpenPOWER on IntegriCloud