summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcprelay.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-26 10:09:34 +0100
committerDenys Vlasenko2010-03-26 10:09:34 +0100
commit385b4562e39e373761fd62b0990dce02ff96661f (patch)
tree5446c10cd8fbde102f59705a9c0419227707c520 /networking/udhcp/dhcprelay.c
parent968951fd0ced7d0d4b81c0ee4466eada93ae4128 (diff)
downloadbusybox-385b4562e39e373761fd62b0990dce02ff96661f.zip
busybox-385b4562e39e373761fd62b0990dce02ff96661f.tar.gz
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>
Diffstat (limited to 'networking/udhcp/dhcprelay.c')
-rw-r--r--networking/udhcp/dhcprelay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index 9f6ac69..e14325d 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -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