summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/serverpacket.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/serverpacket.c
parent1a89133caf043d553d866cd6e707e687e914a013 (diff)
udhcp: added some FIXMEs; code shrink. -49 bytes
Diffstat (limited to 'networking/udhcp/serverpacket.c')
-rw-r--r--networking/udhcp/serverpacket.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c
index 2fcf93033..5b1c61517 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -59,8 +59,10 @@ static int send_packet_to_client(struct dhcpMessage *payload, int force_broadcas
ciaddr = payload->yiaddr;
chaddr = payload->chaddr;
}
- return udhcp_send_raw_packet(payload, server_config.server, SERVER_PORT,
- ciaddr, CLIENT_PORT, chaddr, server_config.ifindex);
+ return udhcp_send_raw_packet(payload,
+ /*src*/ server_config.server, SERVER_PORT,
+ /*dst*/ ciaddr, CLIENT_PORT, chaddr,
+ server_config.ifindex);
}