FreeBSD Bugzilla – Attachment 6898 Details for
Bug 15318
ifconfig dumps core
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 837 bytes, created by
Mike Bristow
on 1999-12-06 19:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mike Bristow
Created:
1999-12-06 19:20:00 UTC
Size:
837 bytes
patch
obsolete
>--- /usr/src/sbin/ifconfig/ifconfig.c.orig Thu Sep 2 16:30:32 1999 >+++ /usr/src/sbin/ifconfig/ifconfig.c Mon Dec 6 16:06:32 1999 >@@ -565,6 +565,9 @@ > setaddr++; > if (doalias == 0) > clearaddr = 1; >+ if (afp->af_getaddr == NULL) { >+ errx(1,"setifaddr: no af_getaddr function for %s interfaces", afp->af_name); >+ } > (*afp->af_getaddr)(addr, (doalias >= 0 ? ADDR : RIDADDR)); > } > >@@ -575,6 +578,9 @@ > int s; > const struct afswtch *afp; > { >+ if (afp->af_getaddr == NULL) { >+ errx(1,"setifnetmask: no af_getaddr function for %s interfaces", afp->af_name); >+ } > (*afp->af_getaddr)(addr, MASK); > } > >@@ -585,6 +591,9 @@ > int s; > const struct afswtch *afp; > { >+ if (afp->af_getaddr == NULL) { >+ errx(1,"setbroadaddr: no af_getaddr function for %s interfaces", afp->af_name); >+ } > (*afp->af_getaddr)(addr, DSTADDR); > }
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 15318
: 6898