udhcp: cosmetic cleanups; one case of s/full_read/xread/

function                                             old     new   delta
dumpleases_main                                      632     623      -9

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-03-26 10:09:34 +01:00
parent 968951fd0c
commit 385b4562e3
15 changed files with 55 additions and 85 deletions

View File

@@ -9,7 +9,6 @@
* Netbeat AG
* Upstream has GPL v2 or later
*/
#include "common.h"
#define SERVER_PORT 67
@@ -146,7 +145,6 @@ static char **get_client_devices(char *dev_list, int *client_number)
return client_dev;
}
/* Creates listen sockets (in fds) bound to client and server ifaces,
* and returns numerically max fd.
*/
@@ -168,7 +166,6 @@ static int init_sockets(char **client_ifaces, int num_clients,
return n;
}
/**
* pass_to_server() - forwards dhcp packets from client to server
* p - packet to send