ALT Linux Bugzilla
– Attachment 5935 Details for
Bug 29351
Неправильное определение MTU
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
у меня нарисовалось
vpnc-script.diff (text/plain), 544 bytes, created by
Michael A. Kangin
on 2013-09-11 16:56:09 MSK
(
hide
)
Description:
у меня нарисовалось
Filename:
MIME Type:
Creator:
Michael A. Kangin
Created:
2013-09-11 16:56:09 MSK
Size:
544 bytes
patch
obsolete
>--- vpnc-script.orig 2013-09-11 16:42:41.657485918 +0400 >+++ vpnc-script 2013-09-11 16:48:49.605289870 +0400 >@@ -97,7 +97,8 @@ > if [ -n "$INTERNAL_IP4_MTU" ]; then > MTU=$INTERNAL_IP4_MTU > elif [ -n "$IPROUTE" ]; then >- MTU=$(($($IPROUTE route get "$VPNGATEWAY" | sed -ne 's/^.*mtu \([[:digit:]]\+\).*$/\1/p') - 88)) >+ R_IFACE=`$IPROUTE -o route get "$VPNGATEWAY" | sed -e 's/.*[0-9] dev \([[:graph:]]\+\).*$/\1/'` >+ MTU=$(($($IPROUTE -o link show "$R_IFACE" | sed -ne 's/^.*mtu \([[:digit:]]\+\).*$/\1/p') - 88)) > else > MTU=1412 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29351
: 5935