diff options
author | Arne Schwabe | 2020-08-10 16:36:55 +0200 |
---|---|---|
committer | Gert Doering | 2020-08-10 17:45:23 +0200 |
commit | 60200b9e1a977c32e64907ed67406dd4208e8abf (patch) | |
tree | 0f9135508b48e112302d9040eafef30f449e3e23 /src/openvpn/socket.c | |
parent | 33773a02082e7602053938ce5d0af284214dabc4 (diff) | |
download | openvpn-60200b9e1a977c32e64907ed67406dd4208e8abf.zip openvpn-60200b9e1a977c32e64907ed67406dd4208e8abf.tar.gz |
Remove buf argument from link_socket_set_outgoing_addr
This was only used in a check that is better suited in the calling
functions. This also removes passing the buf argument to
link_socket_connection_initiated that also does not use that
parameter at all.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200810143707.5834-6-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20677.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/socket.c')
-rw-r--r-- | src/openvpn/socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 61463bc..c486327 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -2450,8 +2450,7 @@ ipchange_fmt(const bool include_cmd, struct argv *argv, const struct link_socket } void -link_socket_connection_initiated(const struct buffer *buf, - struct link_socket_info *info, +link_socket_connection_initiated(struct link_socket_info *info, const struct link_socket_actual *act, const char *common_name, struct env_set *es) |