Kismet Wireless

Kismet Forums

 

Posted by:iluxa
Subject:Log templates ignore logprefix
Date:08:38:24 30/10/2009

I noticed that logtemplate ignores %p.

Here is a simple patch:

Index: configfile.cc
===================================================================
--- configfile.cc (revision 2917)
+++ configfile.cc (working copy)
@@ -228,6 +228,8 @@

if (globalreg->log_prefix == "")
pfx = FetchOpt("logprefix");
+ else
+ pfx = globalreg->log_prefix;

if (pfx != "")
pfx += "/";


Reply to this message