Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117326 Details for
Bug 175911
dhcpcd-3.0.16-r1 problem with wpa_supplicant and hostap driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Pad before end
dhcpcd-3.0.17-hostap.patch (text/plain), 738 bytes, created by
Roy Marples (RETIRED)
on 2007-04-26 18:37:45 UTC
(
hide
)
Description:
Pad before end
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2007-04-26 18:37:45 UTC
Size:
738 bytes
patch
obsolete
>Index: dhcp.c >=================================================================== >--- dhcp.c (revision 204) >+++ dhcp.c (working copy) >@@ -245,17 +245,19 @@ > p += iface->hwlen; > } > >- *p++ = DHCP_END; >- > #ifdef BOOTP_MESSAGE_LENTH_MIN > /* Some crappy DHCP servers think they have to obey the BOOTP minimum > * messag length. They are wrong, but we should still cater for them */ >- while (p - m < BOOTP_MESSAGE_LENTH_MIN) >+ while (p - m < BOOTP_MESSAGE_LENTH_MIN - 1) > *p++ = DHCP_PAD; > #endif > >+ *p++ = DHCP_END; >+ > message_length = p - m; > >+ printf ("mm %d\n", message_length); >+ > memset (&packet, 0, sizeof (struct udp_dhcp_packet)); > make_dhcp_packet (&packet, (unsigned char *) &message, message_length, > from, to);
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 175911
:
117326
|
117336