On Thu, Jul 14, 2016 at 7:25 AM, Arne Schwabe <a...@rfc2549.org> wrote:

> @@ -5487,7 +5487,7 @@ virtual DHCP server address.  In
>  .B \-\-dev tun
>  mode, OpenVPN will cause the DHCP server to masquerade as if it were
>  coming from the remote endpoint.  The optional offset parameter is
> -an integer which is > -256 and < 256 and which defaults to 0.
> +an integer which is > \-256 and < 256 and which defaults to 0.
>

Not a fault of this patch, but may be its time to make this info right.
Currently the default offset in --dev tun mode is not 0, but -1. Thus the
ip (broadcast - 1) is removed from the pool. Unlike what the man page and
comments in helper.c implies.

I think its better to bring the source in line with the docs as suggested
in this patch: http://article.gmane.org/gmane.network.openvpn.devel/10687

Selva

Reply via email to