diff options
author | Denis Vlasenko | 2008-09-26 16:29:12 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-26 16:29:12 +0000 |
commit | c321b51dc61f975625a0bfc67cf159f159ee2612 (patch) | |
tree | 3a857514e6779c4c00bf157ff29cfa24d5828e1a /networking/udhcp/packet.c | |
parent | 1a89133caf043d553d866cd6e707e687e914a013 (diff) | |
download | busybox-c321b51dc61f975625a0bfc67cf159f159ee2612.zip busybox-c321b51dc61f975625a0bfc67cf159f159ee2612.tar.gz |
udhcp: added some FIXMEs; code shrink. -49 bytes
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r-- | networking/udhcp/packet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index 58f45e5..4eedbb5 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; |