-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/02/12 11:48, David Sommerseth wrote:
> Commit 76809cae0eae07817160b423d3f9551df1a1d68e enabled setting MTU 
> variables inside <connection> blocks.  But in that process, the 
> tun_mtu_defined and link_mtu_defined was not set as it should.
> 
> By moving this out of the options_postprocess_mutate_invariant() 
> function and into options_postprocess_mutate_ce(), these variables
> get these *_mtu_defined variables are set correctly in each
> connection entry.
> 
> Signed-off-by: David Sommerseth <dav...@redhat.com> --- options.c | 32
> +++++++++++++++++--------------- 1 files changed, 17 insertions(+), 15
> deletions(-)
> 

Just a bit more useful info, why this is needed.  If you just put the
- --remote option in a connection block like this:

<connection>
remote x.x.x.x 1194
</connection>

Then you will get an assert() error in mtu.c in the frame_finalize().

With this patch, it will work as expected, both with no connection
blocks, one like the example above or more connection blocks.


kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk86QbAACgkQDC186MBRfrrM3wCdG5sB6PPj3ruB/1eX1QtbPFqS
xYEAn3JWSDWWo3Tm5YYF39Gk/+P17eSV
=h8Dd
-----END PGP SIGNATURE-----

Reply via email to