ALT Linux Bugzilla
– Attachment 1214 Details for
Bug 8332
Add PPPTIMEOUT support
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
etcnet-0.7.12-ppp-timeout.patch
etcnet-0.7.12-ppp-timeout.patch (text/plain), 934 bytes, created by
Sir Raorn
on 2005-10-24 15:47:51 MSD
(
hide
)
Description:
etcnet-0.7.12-ppp-timeout.patch
Filename:
MIME Type:
Creator:
Sir Raorn
Created:
2005-10-24 15:47:51 MSD
Size:
934 bytes
patch
obsolete
>diff -Naurp etcnet-0.7.12-orig/etc/net/scripts/create-ppp etcnet-0.7.12/etc/net/scripts/create-ppp >--- etcnet-0.7.12-orig/etc/net/scripts/create-ppp 2005-08-03 21:56:15 +0400 >+++ etcnet-0.7.12/etc/net/scripts/create-ppp 2005-10-24 15:34:06 +0400 >@@ -44,6 +44,7 @@ BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPP > is_yes "$PPPPERSIST" && BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS persist" > BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPHOLDOFF:+ holdoff $PPPHOLDOFF}" > BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPIDLE:+ idle $PPPIDLE}" >+[ -n "$PPPTIMEOUT" -a "$PPPTIMEOUT" -gt 3 ] && BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS lcp-echo-interval $(($PPPTIMEOUT / 3)) lcp-echo-failure 3" > > case "$PPPTYPE" in > pptp) >@@ -67,6 +68,7 @@ case "$PPPTYPE" in > exit 1 > } > PTYOPTION="$PPPOE -I $HOST -U" >+ [ -n "$PPPTIMEOUT" -a "$PPPTIMEOUT" -gt 3 ] && PTYOPTION="$PTYOPTION -T $(($PPPTIMEOUT * 4 / 3))" > ;; > dialup) > BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS modem"
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 8332
:
1213
| 1214