[Openswan dev] [Openswan Users] KLIPS MTU problem
Paul Wouters
paul at xelerance.com
Wed Jul 13 10:38:53 EDT 2011
On Wed, 13 Jul 2011, Wolfgang Nothdurft wrote:
> this was broken with the change from ifconfig to the ip command in:
>
> http://git.openswan.org/cgi-bin/gitweb.cgi?p=openswan.public/.git;a=commitdiff;h=27b18776321417bc8e244d0b35a177f09ece7547
>
> here is a fix.
>
> --- programs/_startklips/_startklips.in 2011-07-13 15:31:10.000000000 +0200
> +++ programs/_startklips/_startklips.in 2011-07-13 15:32:04.000000000 +0200
> @@ -261,7 +261,7 @@
> cmd = cmd " dev " virt "> /dev/null"
> system(cmd)
> }' phys=$phys virt=$virt
> - ip link set up dev $virt
> + ip link set up mtu $pyhs_mtu dev $virt
> fi
>
> # Double check the mtu is not 0 - if it is set it to a saner
> default
Thanks! Fixed in git (without the typo :)
Paul
More information about the Dev
mailing list