Signed-off-by: Arne Schwabe <[email protected]> --- src/openvpn/options.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 08f9cb2..8e5d3b9 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -4506,6 +4506,7 @@ add_option (struct options *options,
goto err;
}
re.remote_port = port;
+ options->ce.port_option_used = true;
if (p[3])
{
const int proto = ascii2proto (p[3]);
--
1.7.7.5 (Apple Git-26)
