aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/packet.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-26 16:29:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-26 16:29:12 +0000
commitc321b51dc61f975625a0bfc67cf159f159ee2612 (patch)
tree3a857514e6779c4c00bf157ff29cfa24d5828e1a /networking/udhcp/packet.c
parent1a89133caf043d553d866cd6e707e687e914a013 (diff)
downloadbusybox-c321b51dc61f975625a0bfc67cf159f159ee2612.tar.gz
udhcp: added some FIXMEs; code shrink. -49 bytes
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r--networking/udhcp/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index 58f45e54e..4eedbb53a 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -118,7 +118,8 @@ uint16_t FAST_FUNC udhcp_checksum(void *addr, int count)
/* Construct a ip/udp header for a packet, send packet */
int FAST_FUNC udhcp_send_raw_packet(struct dhcpMessage *payload,
uint32_t source_ip, int source_port,
- uint32_t dest_ip, int dest_port, const uint8_t *dest_arp, int ifindex)
+ uint32_t dest_ip, int dest_port, const uint8_t *dest_arp,
+ int ifindex)
{
struct sockaddr_ll dest;
struct udp_dhcp_packet packet;