diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-06-14 21:34:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-06-14 21:34:21 +0000 |
commit | be92bbc9c7b390b067c5d88ed227d1efcf371298 (patch) | |
tree | 6e2f4e8dc14ae83772ce43dee0aa25904facb1c2 | |
parent | 7a2beeec7366a926a8a41d2e69101671b35eeaf7 (diff) | |
download | pfsense-packages-be92bbc9c7b390b067c5d88ed227d1efcf371298.tar.gz pfsense-packages-be92bbc9c7b390b067c5d88ed227d1efcf371298.tar.bz2 pfsense-packages-be92bbc9c7b390b067c5d88ed227d1efcf371298.zip |
* Restart siproxd on changes
* Reload filter after changes
-rw-r--r-- | packages/siproxd.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/siproxd.inc b/packages/siproxd.inc index 8332966c..ee1230c9 100644 --- a/packages/siproxd.inc +++ b/packages/siproxd.inc @@ -38,6 +38,7 @@ function siproxd_generate_rules($type) { /* proxy is turned off in package settings */ if($siproxd_conf['rtpenable'] == "0") { + log_error("WARNING: siproxd RTP proxy has not been enabled. Not installing rules."); return "\n"; } @@ -62,6 +63,7 @@ function siproxd_generate_rules($type) { } break; default: + log_error("Siproxd.inc -- error -- should not hit default case statement."); break; } @@ -159,6 +161,12 @@ function sync_package_siproxd() { ); exec("killall siproxd"); + + sleep(1); + + start_service("siproxd"); + + filter_configure(); } ?>
\ No newline at end of file |