summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
committerErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
commit0ae6daf8342d8a07d33bf6677ce9a228530defac (patch)
tree11e06c8535944fa24ba9ee9f8fba8e6d42380a0b /etc/inc/interfaces.inc
parent298e5e0ab913f32759805b5dc5ba204eb3795609 (diff)
downloadpfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.zip
pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.tar.gz
Use the new events mechanisms to dispatch events.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 6705a52..94903ce 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -848,7 +848,7 @@ function interface_bring_down($interface = "wan", $destroy = false) {
}
unlink_if_exists("{$g['varetc_path']}/mpd_{$interface}.conf");
if (isset($ppp['ondemand']) && !$destroy)
- file_put_contents("{$g['tmp_path']}/interface_configure", $interface);
+ send_event("interface reconfigure {$interface}");
break;
}
}
OpenPOWER on IntegriCloud