projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16b608
)
Fix bad padding of bootp request packet
author
Simon Glass
<sjg@chromium.org>
Wed, 2 Feb 2011 23:03:28 +0000
(15:03 -0800)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 13 Apr 2011 20:25:07 +0000
(22:25 +0200)
This seems to pad to one byte longer than required
Signed-off-by: Simon Glass <sjg@chromium.org>
net/bootp.c
patch
|
blob
|
history
diff --git
a/net/bootp.c
b/net/bootp.c
index
1a71786
..
87b027e
100644
(file)
--- a/
net/bootp.c
+++ b/
net/bootp.c
@@
-464,7
+464,7
@@
static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
/* Pad to minimal length */
#ifdef CONFIG_DHCP_MIN_EXT_LEN
- while ((e - start) <
=
CONFIG_DHCP_MIN_EXT_LEN)
+ while ((e - start) < CONFIG_DHCP_MIN_EXT_LEN)
*e++ = 0;
#endif