Fix MTU calculation (Red Hat bug #693235)
commit46c97ad2346dd6bf3347bad008a1449a91232201
authorAntonio Borneo <Antonio Borneo@315857ad-0bdb-0310-b42e-dec37551a5f0>
Sat, 14 Jan 2012 07:55:52 +0000 (14 07:55 +0000)
committerAntonio Borneo <Antonio Borneo@315857ad-0bdb-0310-b42e-dec37551a5f0>
Sat, 14 Jan 2012 07:55:52 +0000 (14 07:55 +0000)
tree4e5b006a3aa714d05f4be77be1ea2d92d38e35c8
parenta123bb0bbd37a3274efc74881edbcc4a6adcdf60
Fix MTU calculation (Red Hat bug #693235)

Newer iproute doesn't give the mtu in 'ip route get' output, so get the
device and then get the device's MTU (which theoretically could be
different to the route MTU but this is good enough for now).

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: https://svn.unix-ag.uni-kl.de/vpnc/trunk@496 315857ad-0bdb-0310-b42e-dec37551a5f0
vpnc-script