Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79013 Details for
Bug 115346
sys-apps/baselayout-1.12.0_pre11-r3 needs more info about >=net-dialup/ppp-2.4.3-r10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allows maxfail to be set
pppd.patch (text/plain), 882 bytes, created by
Roy Marples (RETIRED)
on 2006-02-06 02:48:35 UTC
(
hide
)
Description:
Allows maxfail to be set
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2006-02-06 02:48:35 UTC
Size:
882 bytes
patch
obsolete
>Index: pppd >=================================================================== >--- lib/rcscripts/net.modules.d/pppd (revision 1851) >+++ pppd (working copy) >@@ -146,16 +146,21 @@ > opts="${!opts}" > > # We don't work with these options set by the user >- for i in unit nodetach linkname maxfail persist ; do >- if [[ " ${opts} " == *" ${i} "* ]]; then >+ for i in unit nodetach linkname persist ; do >+ if [[ " ${opts} " == *" ${i} "* ]] ; then > eerror "The option \"${i}\" is not allowed" > return 1 > fi > done > >+ # Default maxfail to 0 unless specified >+ if [[ " ${opts} " != *" maxfail "* ]] ; then >+ opts="${opts} maxfail 0" >+ fi >+ > # Check for mtu/mru > local mtu="mtu_${ifvar}" >- if [[ -n ${!mtu} ]]; then >+ if [[ -n ${!mtu} ]] ; then > [[ " ${opts} " != *" mtu "* ]] && opts="${opts} mtu ${!mtu}" > [[ " ${opts} " != *" mru "* ]] && opts="${opts} mru ${!mtu}" > 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 115346
:
79013
|
79014