Commit f06d902b authored by Linus Nordberg's avatar Linus Nordberg

Add configuration of client fticksVISINST.

parent a6403e16
...@@ -2676,6 +2676,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char ...@@ -2676,6 +2676,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char
"rewriteIn", CONF_STR, &conf->confrewritein, "rewriteIn", CONF_STR, &conf->confrewritein,
"rewriteOut", CONF_STR, &conf->confrewriteout, "rewriteOut", CONF_STR, &conf->confrewriteout,
"rewriteattribute", CONF_STR, &conf->confrewriteusername, "rewriteattribute", CONF_STR, &conf->confrewriteusername,
"fticksVISCOUNTRY", CONF_STR, &conf->fticks_viscountry,
NULL NULL
)) ))
debugx(1, DBG_ERR, "configuration error"); debugx(1, DBG_ERR, "configuration error");
......
...@@ -30,10 +30,13 @@ ...@@ -30,10 +30,13 @@
#LogDestination x-syslog:///log_local2 #LogDestination x-syslog:///log_local2
# For generating log entries conforming to the F-Ticks system, specify # For generating log entries conforming to the F-Ticks system, specify
# F-Ticks-Reporting with one of # F-Ticks-Reporting with one of the following values.
# None -- Do not log in F-Ticks format. This is the default. # None -- Do not log in F-Ticks format. This is the default.
# Basic -- Do log in F-Ticks format but do not log VISINST. # Basic -- Do log in F-Ticks format but do not log VISINST.
# Full -- Do log in F-Ticks format and do log VISINST. # Full -- Do log in F-Ticks format and do log VISINST.
# Please note that in order to get F-Ticks logging for a given client,
# its matching client configuration block has to contain the
# fticksVISCOUNTRY option.
# You can optionally specify F-Ticks-MAC in order to determine if and # You can optionally specify F-Ticks-MAC in order to determine if and
# how Calling-Station-Id is logged. # how Calling-Station-Id is logged.
......
...@@ -124,6 +124,7 @@ struct clsrvconf { ...@@ -124,6 +124,7 @@ struct clsrvconf {
struct tls *tlsconf; struct tls *tlsconf;
struct list *clients; struct list *clients;
struct server *servers; struct server *servers;
char *fticks_viscountry;
}; };
#include "tlscommon.h" #include "tlscommon.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment