aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/packet.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-30 22:48:39 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-30 22:48:39 +0000
commit45d22dce9fb986e738313cd9f1f246255db097e8 (patch)
tree5741be315758b807145c24da9ff3a1dbf8fce4e8 /networking/udhcp/packet.c
parent6ef925c28235f73e3a054a61717ea40fcd4ffd98 (diff)
downloadbusybox-w32-45d22dce9fb986e738313cd9f1f246255db097e8.tar.gz
busybox-w32-45d22dce9fb986e738313cd9f1f246255db097e8.tar.bz2
busybox-w32-45d22dce9fb986e738313cd9f1f246255db097e8.zip
fix up yet more annoying signed/unsigned and mixed type errors
git-svn-id: svn://busybox.net/trunk/busybox@13732 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r--networking/udhcp/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index 64a910031..1baec55e2 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -70,7 +70,7 @@ int get_packet(struct dhcpMessage *packet, int fd)
70 if (packet->op == BOOTREQUEST && (vendor = get_option(packet, DHCP_VENDOR))) { 70 if (packet->op == BOOTREQUEST && (vendor = get_option(packet, DHCP_VENDOR))) {
71 for (i = 0; broken_vendors[i][0]; i++) { 71 for (i = 0; broken_vendors[i][0]; i++) {
72 if (vendor[OPT_LEN - 2] == (uint8_t) strlen(broken_vendors[i]) && 72 if (vendor[OPT_LEN - 2] == (uint8_t) strlen(broken_vendors[i]) &&
73 !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { 73 !strncmp((char*)vendor, broken_vendors[i], vendor[OPT_LEN - 2])) {
74 DEBUG(LOG_INFO, "broken client (%s), forcing broadcast", 74 DEBUG(LOG_INFO, "broken client (%s), forcing broadcast",
75 broken_vendors[i]); 75 broken_vendors[i]);
76 packet->flags |= htons(BROADCAST_FLAG); 76 packet->flags |= htons(BROADCAST_FLAG);