From 1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d Mon Sep 17 00:00:00 2001 From: James Yonan Date: Sun, 13 Mar 2011 06:59:25 +0000 Subject: Added optional journal directory argument to "port-share" directive, for reporting client IP origins of proxied connections. git-svn-id: http://svn.openvpn.net/projects/branches/BETA21@7031 e7ae566f-a301-0410-adde-c780ea21d3b5 --- init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'init.c') diff --git a/init.c b/init.c index 70357e1..4214233 100644 --- a/init.c +++ b/init.c @@ -520,7 +520,9 @@ init_port_share (struct context *c) if (!port_share && (c->options.port_share_host && c->options.port_share_port)) { port_share = port_share_open (c->options.port_share_host, - c->options.port_share_port); + c->options.port_share_port, + MAX_RW_SIZE_LINK (&c->c2.frame), + c->options.port_share_journal_dir); if (port_share == NULL) msg (M_FATAL, "Fatal error: Port sharing failed"); } -- cgit