FreeBSD Bugzilla – Attachment 15631 Details for
Bug 28905
FreeBSD 4.3 freeze when ppp dials over T-DSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
p
p (text/plain), 1.14 KB, created by
Brian Somers
on 2001-07-18 18:53:10 UTC
(
hide
)
Description:
p
Filename:
MIME Type:
Creator:
Brian Somers
Created:
2001-07-18 18:53:10 UTC
Size:
1.14 KB
patch
obsolete
>Index: ether.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/ppp/ether.c,v >retrieving revision 1.19 >diff -u -r1.19 ether.c >--- ether.c 2001/06/18 14:59:33 1.19 >+++ ether.c 2001/07/18 09:28:03 >@@ -595,6 +595,12 @@ > return ether_Abandon(dev, p); > } > >+ /* Bring the Ethernet interface up */ >+ path[ifacelen] = '\0'; /* Remove the trailing ':' */ >+ if (!iface_SetFlags(path, IFF_UP)) >+ log_Printf(LogWARN, "%s: Failed to set the IFF_UP flag on %s\n", >+ p->link.name, path); >+ > /* And finally, request a connection to the given provider */ > > data = (struct ngpppoe_init_data *)alloca(sizeof *data + providerlen); >@@ -675,16 +681,6 @@ > > if (dev) { > physical_SetupStack(p, dev->dev.name, PHYSICAL_FORCE_SYNCNOACF); >- >- if (path != NULL) { >- /* Mark the interface as UP if it's not already */ >- >- path[ifacelen] = '\0'; /* Remove the trailing ':' */ >- if (!iface_SetFlags(path, IFF_UP)) >- log_Printf(LogWARN, "%s: Failed to set the IFF_UP flag on %s\n", >- p->link.name, path); >- } >- > return &dev->dev; > } >
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 Raw
Actions:
View
Attachments on
bug 28905
: 15631