FreeBSD Bugzilla – Attachment 15904 Details for
Bug 29361
startslip can't load if_sl.ko
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 596 bytes, created by
osa
on 2001-08-01 11:10:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
osa
Created:
2001-08-01 11:10:07 UTC
Size:
596 bytes
patch
obsolete
>--- src/sbin/startslip/startslip.c.orig Tue Jul 31 23:58:38 2001 >+++ src/sbin/startslip/startslip.c Tue Jul 31 23:58:16 2001 >@@ -428,6 +428,21 @@ > * Attach > */ > printd("setd"); >+ >+ /* >+ * Attempt to load the SLIP interface KLD if it isn't loaded >+ * already. >+ */ >+#if defined(__FreeBSD__) && !defined(NOKLDLOAD) >+ if (modfind("if_sl") == -1) { >+ if (kldload("if_sl") == -1) { >+ syslog(LOG_ERR, "kldload if_sl: %s\n", >+ strerror(errno)); >+ down(2); >+ } >+ } >+#endif >+ > disc = SLIPDISC; > if (ioctl(fd, TIOCSETD, &disc) < 0) { > syslog(LOG_ERR, "%s: ioctl (%s, TIOCSETD): %m",
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 29361
: 15904