summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-31 12:47:35 +0000
committerMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-31 12:47:35 +0000
commit262111689f19e362100236a37bcd3c7eed6fd769 (patch)
tree01f0b34b500c858c0c45531a622bbd6368bf565e /template.c
parenta24b9f9127f48c7ff7511288ac93f613198892a6 (diff)
downloadrsyslog-262111689f19e362100236a37bcd3c7eed6fd769.tar.gz
rsyslog-262111689f19e362100236a37bcd3c7eed6fd769.tar.xz
rsyslog-262111689f19e362100236a37bcd3c7eed6fd769.zip
patches and docu update for 1.19.3v1-19-3
Diffstat (limited to 'template.c')
-rw-r--r--template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/template.c b/template.c
index 6f2c1025..d2f2450a 100644
--- a/template.c
+++ b/template.c
@@ -432,6 +432,10 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe)
pTpe->data.field.options.bSpaceCC = 1;
} else if(!strcmp((char*)Buf, "drop-last-lf")) {
pTpe->data.field.options.bDropLastLF = 1;
+ } else if(!strcmp((char*)Buf, "secpath-drop")) {
+ pTpe->data.field.options.bSecPathDrop = 1;
+ } else if(!strcmp((char*)Buf, "secpath-replace")) {
+ pTpe->data.field.options.bSecPathReplace = 1;
} else {
dbgprintf("Invalid field option '%s' specified - ignored.\n", Buf);
}