-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
First of all, thank you very much for your work on this patch set! And you have a lot of good things here. So to this patch ... On 02/06/12 15:03, Arne Schwabe wrote: > > Signed-off-by: Arne Schwabe <a...@rfc2549.org> --- > 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; Instead of this change, wouldn't it rather make sense to just remove the whole "#if 1 /* JYFIXME -- port warning */" block in init.c:2470 instead? This "new" port number was introduced in November 2004, so I'd say this warning has been laying around long enough. When doing that, we can also get rid of the port_option_used member completely too. If you do: $ git grep -n port_option_used in the source tree, you see where this is used, and it's not many places at all. kind regards, David Sommerseth > if (p[3]) { const int proto = ascii2proto (p[3]); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/KPiAACgkQDC186MBRfrouAACgmv1F0CiIM0HyrhNYAFltqpPv szEAnj8O/j/vqx8884KDjZlNrLhLOfyh =fMoA -----END PGP SIGNATURE-----