Project

General

Profile

« Previous | Next » 

Revision 1b756c3c

Added by Jim Pingle over 7 years ago

Add ospf6d to routing logs.

(cherry picked from commit 163255d64c021508224140f08fb2c261265e465e)

View differences:

src/etc/inc/system.inc
1028 1028

  
1029 1029
	$syslogd_extra = "";
1030 1030
	if (isset($syslogcfg)) {
1031
		$separatelogfacilities = array('ntp', 'ntpd', 'ntpdate', 'charon', 'ipsec_starter', 'openvpn', 'poes', 'l2tps', 'relayd', 'hostapd', 'dnsmasq', 'named', 'filterdns', 'unbound', 'dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c', 'dpinger', 'radvd', 'routed', 'olsrd', 'zebra', 'ospfd', 'bgpd', 'miniupnpd', 'filterlog');
1031
		$separatelogfacilities = array('ntp', 'ntpd', 'ntpdate', 'charon', 'ipsec_starter', 'openvpn', 'poes', 'l2tps', 'relayd', 'hostapd', 'dnsmasq', 'named', 'filterdns', 'unbound', 'dhcpd', 'dhcrelay', 'dhclient', 'dhcp6c', 'dpinger', 'radvd', 'routed', 'olsrd', 'zebra', 'ospfd', 'ospf6d', 'bgpd', 'miniupnpd', 'filterlog');
1032 1032
		$syslogconf = "";
1033 1033
		if ($config['installedpackages']['package']) {
1034 1034
			foreach ($config['installedpackages']['package'] as $package) {
......
1042 1042
			}
1043 1043
		}
1044 1044
		$facilitylist = implode(',', array_unique($separatelogfacilities));
1045
		$syslogconf .= "!radvd,routed,olsrd,zebra,ospfd,bgpd,miniupnpd\n";
1045
		$syslogconf .= "!radvd,routed,olsrd,zebra,ospfd,ospf6d,bgpd,miniupnpd\n";
1046 1046
		if (!isset($syslogcfg['disablelocallogging'])) {
1047 1047
			$syslogconf .= "*.*								{$log_directive}{$g['varlog_path']}/routing.log\n";
1048 1048
		}

Also available in: Unified diff