diff options
author | James Yonan <james@openvpn.net> | 2011-03-13 06:59:25 +0000 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2011-04-25 22:13:22 +0200 |
commit | 1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d (patch) | |
tree | 7eccc7d6ba60b93adccf7c473f2489da7db0a024 /init.c | |
parent | 6c34e74f1340a72ab7dce077e4d326f03989322c (diff) | |
download | openvpn-1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d.tar.gz openvpn-1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d.tar.xz openvpn-1c5ff7722dbd3e32aa3e5b7d5cb77773f083472d.zip |
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
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"); } |