Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94936 Details for
Bug 144194
wrong pppoa usage specs with >=sys-apps/baselayout-1.12.4-r4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for pppd.sh 2200
pppd.sh-pppoa.patch (text/plain), 1.14 KB, created by
Giampaolo Tomassoni
on 2006-08-23 07:28:46 UTC
(
hide
)
Description:
Patch for pppd.sh 2200
Filename:
MIME Type:
Creator:
Giampaolo Tomassoni
Created:
2006-08-23 07:28:46 UTC
Size:
1.14 KB
patch
obsolete
>--- pppd.sh-2101 2006-08-23 13:16:58.000000000 +0200 >+++ pppd.sh 2006-08-23 15:28:29.000000000 +0200 >@@ -144,9 +144,11 @@ > [[ ${plugin[0]} == "pppoa" ]] && plugin[0]="pppoatm" > [[ ${plugin[0]} == "capi" ]] && plugin[0]="capiplugin" > >- [[ ${plugin[0]} == "rp-pppoe" ]] && opts="${opts} connect true" >- opts="${opts} plugin ${plugin[0]}.so ${plugin[@]:1}" >- [[ ${plugin[0]} == "rp-pppoe" ]] && opts="${opts} ${!link}" >+ if [[ ${plugin[0]} == "rp-pppoe" || ( ${plugin[0]} == "pppoatm" && ${!link} != '/dev/null' ) ]] ; then >+ opts="${opts} connect true plugin ${plugin[0]}.so ${plugin[@]:1} ${!link}" >+ else >+ opts="${opts} plugin ${plugin[0]}.so ${plugin[@]:1}" >+ fi > done > > #Specialized stuff. Insert here actions particular to connection type (pppoe,pppoa,capi) >@@ -168,6 +170,12 @@ > fi > > if [[ " ${opts} " == *" plugin pppoatm.so "* ]] ; then >+ if [[ ${!link} =~ '^[ \t]*([1-9]*[0-9]\.){1,2}[1-9]*[0-9][ \t]*$' ]] ; then >+ insert_link_in_opts=0 >+ else >+ ewarn "WARNING: An [itf.]vpi.vci ATM address was expected in ${link}" >+ fi >+ > if [[ ! -d /proc/net/atm ]] ; then > # Load the PPPoA kernel module > if ! modprobe pppoatm ; then
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 144194
:
94931
|
94932
| 94936