net: adapt legacy vpns according to syslog/plugins changes

This commit is contained in:
Franco Fichtner 2016-06-03 14:04:03 +02:00
parent c1096904e7
commit df43b7678c
9 changed files with 12 additions and 18 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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)

View file

@ -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

View file

@ -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;
}

View file

@ -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)

View file

@ -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

View file

@ -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;
}

View file

@ -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)