diff --git a/net/l2tp/Makefile b/net/l2tp/Makefile index 794c0a93e..076776f82 100644 --- a/net/l2tp/Makefile +++ b/net/l2tp/Makefile @@ -1,7 +1,7 @@ PLUGIN_NAME= l2tp PLUGIN_PRIVATE= yes -PLUGIN_VERSION= 0.2 -PLUGIN_DEPENDS= mpd5 +PLUGIN_VERSION= 0.3 +PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= LT2P server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc b/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc index b8cd221f8..bdc2f8d31 100644 --- a/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc +++ b/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc @@ -63,9 +63,7 @@ function if_l2tp_services() function if_l2tp_syslog() { $logfacilities = array(); - - $logfacilities['l2tps'] = array('facility' => array('l2tps'), 'remote' => null); - + $logfacilities['l2tps'] = array('facility' => array('l2tps')); return $logfacilities; } diff --git a/net/l2tp/src/www/vpn_l2tp_log.inc b/net/l2tp/src/www/vpn_l2tp_log.inc index aa7ae1f98..dacdf2fb0 100644 --- a/net/l2tp/src/www/vpn_l2tp_log.inc +++ b/net/l2tp/src/www/vpn_l2tp_log.inc @@ -40,7 +40,7 @@ if (empty($config['syslog']['nentries'])) { } if ($_POST['clear']) { - clear_clog($logfile); + system_clear_clog($logfile); } function dump_clog_vpn($file, $tail, $type) diff --git a/net/pppoe/Makefile b/net/pppoe/Makefile index 09a47ca40..1dd1f491c 100644 --- a/net/pppoe/Makefile +++ b/net/pppoe/Makefile @@ -1,7 +1,7 @@ PLUGIN_NAME= pppoe PLUGIN_PRIVATE= yes -PLUGIN_VERSION= 0.2 -PLUGIN_DEPENDS= mpd5 +PLUGIN_VERSION= 0.3 +PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= PPPoE server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc b/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc index 7bec0f0f3..09d083e3c 100644 --- a/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc +++ b/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc @@ -70,9 +70,7 @@ function if_pppoe_services() function if_pppoe_syslog() { $logfacilities = array(); - - $logfacilities['poes'] = array('facility' => array('poes'), 'remote' => null); - + $logfacilities['poes'] = array('facility' => array('poes')); return $logfacilities; } diff --git a/net/pppoe/src/www/vpn_pppoe_log.inc b/net/pppoe/src/www/vpn_pppoe_log.inc index aa7ae1f98..dacdf2fb0 100644 --- a/net/pppoe/src/www/vpn_pppoe_log.inc +++ b/net/pppoe/src/www/vpn_pppoe_log.inc @@ -40,7 +40,7 @@ if (empty($config['syslog']['nentries'])) { } if ($_POST['clear']) { - clear_clog($logfile); + system_clear_clog($logfile); } function dump_clog_vpn($file, $tail, $type) diff --git a/net/pptp/Makefile b/net/pptp/Makefile index 49006ed18..e8693b199 100644 --- a/net/pptp/Makefile +++ b/net/pptp/Makefile @@ -1,7 +1,7 @@ PLUGIN_NAME= pptp PLUGIN_PRIVATE= yes -PLUGIN_VERSION= 0.2 -PLUGIN_DEPENDS= mpd5 +PLUGIN_VERSION= 0.3 +PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= PPTP server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc b/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc index 418c26346..e0081bc60 100644 --- a/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc +++ b/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc @@ -63,9 +63,7 @@ function if_pptp_services() function if_pptp_syslog() { $logfacilities = array(); - - $logfacilities['pptps'] = array('facility' => array('pptps'), 'remote' => null); - + $logfacilities['pptps'] = array('facility' => array('pptps')); return $logfacilities; } diff --git a/net/pptp/src/www/vpn_pptp_log.inc b/net/pptp/src/www/vpn_pptp_log.inc index aa7ae1f98..dacdf2fb0 100644 --- a/net/pptp/src/www/vpn_pptp_log.inc +++ b/net/pptp/src/www/vpn_pptp_log.inc @@ -40,7 +40,7 @@ if (empty($config['syslog']['nentries'])) { } if ($_POST['clear']) { - clear_clog($logfile); + system_clear_clog($logfile); } function dump_clog_vpn($file, $tail, $type)