Revision 1cb3a834
Added by Ryan Wagoner almost 18 years ago
usr/local/www/status_upnp.php | ||
---|---|---|
33 | 33 |
|
34 | 34 |
if ($_POST) { |
35 | 35 |
if ($_POST['clear'] == "Clear") { |
36 |
mwexec("/bin/sh /usr/local/etc/rc.d/miniupnpd.sh restart");
|
|
36 |
upnp_action('restart');
|
|
37 | 37 |
$savemsg = "Rules have been cleared and the daemon restarted"; |
38 | 38 |
} |
39 | 39 |
} |
Also available in: Unified diff
-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