summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_upnp.php
diff options
context:
space:
mode:
authorRyan Wagoner <rsw686@pfsense.org>2007-07-23 17:26:33 +0000
committerRyan Wagoner <rsw686@pfsense.org>2007-07-23 17:26:33 +0000
commit431484c8ef64f0f039333b8004106cb7d0f58def (patch)
tree6c6e1e42004fcb1d9e7687c93c7266287f4989a6 /usr/local/www/status_upnp.php
parenta097d3c06c96df8cefd75b7e85df4485d04f02d9 (diff)
downloadpfsense-431484c8ef64f0f039333b8004106cb7d0f58def.zip
pfsense-431484c8ef64f0f039333b8004106cb7d0f58def.tar.gz
-move upnp_action to services.inc
-make sure to clear rules when stopping miniupnpd -fix status_upnp and status_services pages so they use upnp_action and not the rcfile
Diffstat (limited to 'usr/local/www/status_upnp.php')
-rw-r--r--usr/local/www/status_upnp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_upnp.php b/usr/local/www/status_upnp.php
index f13c6d8..cea49a8 100644
--- a/usr/local/www/status_upnp.php
+++ b/usr/local/www/status_upnp.php
@@ -33,7 +33,7 @@ require("guiconfig.inc");
if ($_POST) {
if ($_POST['clear'] == "Clear") {
- mwexec("/bin/sh /usr/local/etc/rc.d/miniupnpd.sh restart");
+ upnp_action('restart');
$savemsg = "Rules have been cleared and the daemon restarted";
}
}
OpenPOWER on IntegriCloud