summaryrefslogtreecommitdiff
path: root/accel-pptpd/log.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-09-12 23:13:10 +0400
committerDmitry Kozlov <xeb@mail.ru>2010-09-12 23:13:27 +0400
commit65a665f6c655766a6d990e8aba47a811d0c3fecc (patch)
treed1dd7a9b01ac49382500fc97de4f69cd713d8952 /accel-pptpd/log.h
parent417ef849f1adcb3b655fbb2382e126b0b17aabbe (diff)
downloadaccel-ppp-65a665f6c655766a6d990e8aba47a811d0c3fecc.tar.gz
accel-ppp-65a665f6c655766a6d990e8aba47a811d0c3fecc.zip
log: implemented 'log_pgsql' loggin target
lcp: fixed incorrect echo reply ppp_fsm: fixed incorrect timeout timer initialization
Diffstat (limited to 'accel-pptpd/log.h')
-rw-r--r--accel-pptpd/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/log.h b/accel-pptpd/log.h
index 2e825263..ec0e5b73 100644
--- a/accel-pptpd/log.h
+++ b/accel-pptpd/log.h
@@ -12,6 +12,7 @@
#define LOG_DEBUG 4
#define LOG_CHUNK_SIZE 128
+#define LOG_MAX_SIZE 4096
struct ppp_t;
struct triton_context_t;
@@ -20,6 +21,7 @@ struct log_msg_t
{
struct list_head entry;
void *lpd;
+ void *tpd;
struct timeval timestamp;
int level;
struct log_chunk_t *hdr;