diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-20 18:04:36 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-20 18:04:36 +0200 |
commit | 2c3b71a0d2e6e94d8fb75c6879b1b8203cea9e5a (patch) | |
tree | 2303e0ffaeb1f95a9f38b2071b0feb47dae0dc9a /networking/udhcp/common.h | |
parent | c59e06e47199fedc97fbaa080f9ea63049c7176b (diff) | |
download | busybox-w32-2c3b71a0d2e6e94d8fb75c6879b1b8203cea9e5a.tar.gz busybox-w32-2c3b71a0d2e6e94d8fb75c6879b1b8203cea9e5a.tar.bz2 busybox-w32-2c3b71a0d2e6e94d8fb75c6879b1b8203cea9e5a.zip |
dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZE
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 9020b9c96..f8f18ff01 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -63,14 +63,14 @@ struct udp_dhcp_packet { | |||
63 | } PACKED; | 63 | } PACKED; |
64 | 64 | ||
65 | enum { | 65 | enum { |
66 | IP_UPD_DHCP_SIZE = sizeof(struct ip_udp_dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, | 66 | IP_UDP_DHCP_SIZE = sizeof(struct ip_udp_dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, |
67 | UPD_DHCP_SIZE = sizeof(struct udp_dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, | 67 | UDP_DHCP_SIZE = sizeof(struct udp_dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, |
68 | DHCP_SIZE = sizeof(struct dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, | 68 | DHCP_SIZE = sizeof(struct dhcp_packet) - CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS, |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /* Let's see whether compiler understood us right */ | 71 | /* Let's see whether compiler understood us right */ |
72 | struct BUG_bad_sizeof_struct_ip_udp_dhcp_packet { | 72 | struct BUG_bad_sizeof_struct_ip_udp_dhcp_packet { |
73 | char c[IP_UPD_DHCP_SIZE == 576 ? 1 : -1]; | 73 | char c[IP_UDP_DHCP_SIZE == 576 ? 1 : -1]; |
74 | }; | 74 | }; |
75 | 75 | ||
76 | 76 | ||