summaryrefslogtreecommitdiffstats
path: root/src/openvpn/options.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-06-18 20:39:05 +0200
committerDavid Sommerseth <davids@redhat.com>2012-06-22 12:17:33 +0200
commit2df1fc83a61e5a67f299eb862a35eea4db7d9fc3 (patch)
treeb5c9bf1427e0b5224eb4cb37570cbbbf0507bd44 /src/openvpn/options.c
parentea5e091ea0732184c4cef82889b1a5d15f14828d (diff)
downloadopenvpn-2df1fc83a61e5a67f299eb862a35eea4db7d9fc3.tar.gz
openvpn-2df1fc83a61e5a67f299eb862a35eea4db7d9fc3.tar.xz
openvpn-2df1fc83a61e5a67f299eb862a35eea4db7d9fc3.zip
Completely remove ancient IANA port warning.
Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: 1340044749-10694-3-git-send-email-arne@rfc2549.org URL: http://article.gmane.org/gmane.network.openvpn.devel/6742 Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/options.c')
-rw-r--r--src/openvpn/options.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 6eac407..1791986 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -4921,7 +4921,6 @@ add_option (struct options *options,
msg (msglevel, "Bad port number: %s", p[1]);
goto err;
}
- options->ce.port_option_used = true;
options->ce.local_port = options->ce.remote_port = port;
}
else if (streq (p[0], "lport") && p[1])
@@ -4936,7 +4935,6 @@ add_option (struct options *options,
goto err;
}
options->ce.local_port_defined = true;
- options->ce.port_option_used = true;
options->ce.local_port = port;
}
else if (streq (p[0], "rport") && p[1])
@@ -4950,7 +4948,6 @@ add_option (struct options *options,
msg (msglevel, "Bad remote port number: %s", p[1]);
goto err;
}
- options->ce.port_option_used = true;
options->ce.remote_port = port;
}
else if (streq (p[0], "bind"))