aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
authortimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
committertimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
commitfd8222f9b9db2a783b17ec9c59cf3fc22a4e4586 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /networking/udhcp/options.c
parent45d75f9ecc8f2b582407059da7d414f990ced68a (diff)
downloadbusybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.gz
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.bz2
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.zip
just whitespace
git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r--networking/udhcp/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index 144345134..eebcaaa58 100644
--- a/networking/udhcp/options.c
+++ b/networking/udhcp/options.c
@@ -154,11 +154,11 @@ int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data)
154 for (dh=dhcp_options; dh->code; dh++) { 154 for (dh=dhcp_options; dh->code; dh++) {
155 if (dh->code == code) { 155 if (dh->code == code) {
156 uint8_t option[6], len; 156 uint8_t option[6], len;
157 157
158 option[OPT_CODE] = code; 158 option[OPT_CODE] = code;
159 len = option_lengths[dh->flags & TYPE_MASK]; 159 len = option_lengths[dh->flags & TYPE_MASK];
160 option[OPT_LEN] = len; 160 option[OPT_LEN] = len;
161 if (__BYTE_ORDER == __BIG_ENDIAN) 161 if (__BYTE_ORDER == __BIG_ENDIAN)
162 data <<= 8 * (4 - len); 162 data <<= 8 * (4 - len);
163 /* This memcpy is for broken processors which can't 163 /* This memcpy is for broken processors which can't
164 * handle a simple unaligned 32-bit assignment */ 164 * handle a simple unaligned 32-bit assignment */