ALT Linux Bugzilla
– Attachment 7308 Details for
Bug 34322
dhcp.c: Fix potentially destructive typo in perform_dhcp()
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч
0001-dhcp.c-Fix-potentially-destructive-typo-in-perform_d.patch (text/plain), 817 bytes, created by
Arseny Maslennikov
on 2017-12-12 01:20:38 MSK
(
hide
)
Description:
патч
Filename:
MIME Type:
Creator:
Arseny Maslennikov
Created:
2017-12-12 01:20:38 MSK
Size:
817 bytes
patch
obsolete
>From 200f8951348878fb138eeb9116475a907a9ba8eb Mon Sep 17 00:00:00 2001 >From: Arseny Maslennikov <arseny@altlinux.org> >Date: Mon, 11 Dec 2017 19:09:07 +0300 >Subject: [PATCH] dhcp.c: Fix potentially destructive typo in perform_dhcp() > >--- > dhcp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/dhcp.c b/dhcp.c >index 35c8fe7..be6805f 100644 >--- a/dhcp.c >+++ b/dhcp.c >@@ -552,7 +552,7 @@ enum return_type perform_dhcp(struct interface_info * intf) > messageType = DHCP_TYPE_DISCOVER; > add_vendor_code(&breq, DHCP_OPTION_TYPE, 1, &messageType); > >- memset(&client_addr.sin_addr, 0, sizeof(&client_addr.sin_addr)); >+ memset(&client_addr.sin_addr, 0, sizeof(client_addr.sin_addr)); > client_addr.sin_family = AF_INET; > client_addr.sin_port = htons(BOOTP_CLIENT_PORT); /* bootp client */ > >-- >2.10.4 >
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 34322
: 7308