Separate requested from received MTU settings
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 30 Jun 2012 00:41:59 +0000 (01:41 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 30 Jun 2012 00:48:22 +0000 (01:48 +0100)
commite2ee619fa2b805fb0bd205e4d1965767b324ad8c
tree842a6b14045657e601b8733b7744cf3f20daa9d5
parent06f783872f6ea63a88721c8567fc8c271a6e7a19
Separate requested from received MTU settings

This fixes a bug where an MTU requested with the --mtu option will actually
be set as the interface MTU even if the server replies with a smaller value.

It also fixes reconnect behaviour, by not treating the MTU response from
the server on the original connection into an override for the reconnect.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
dtls.c
library.c
main.c
openconnect-internal.h
tun.c
www/changelog.xml