diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 10:09:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-26 10:09:34 +0100 |
commit | 385b4562e39e373761fd62b0990dce02ff96661f (patch) | |
tree | 5446c10cd8fbde102f59705a9c0419227707c520 /networking/udhcp/dhcprelay.c | |
parent | 968951fd0ced7d0d4b81c0ee4466eada93ae4128 (diff) | |
download | busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.tar.gz busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.tar.bz2 busybox-w32-385b4562e39e373761fd62b0990dce02ff96661f.zip |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c index 9f6ac699a..e14325dca 100644 --- a/networking/udhcp/dhcprelay.c +++ b/networking/udhcp/dhcprelay.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * Netbeat AG | 9 | * Netbeat AG |
10 | * Upstream has GPL v2 or later | 10 | * Upstream has GPL v2 or later |
11 | */ | 11 | */ |
12 | |||
13 | #include "common.h" | 12 | #include "common.h" |
14 | 13 | ||
15 | #define SERVER_PORT 67 | 14 | #define SERVER_PORT 67 |
@@ -146,7 +145,6 @@ static char **get_client_devices(char *dev_list, int *client_number) | |||
146 | return client_dev; | 145 | return client_dev; |
147 | } | 146 | } |
148 | 147 | ||
149 | |||
150 | /* Creates listen sockets (in fds) bound to client and server ifaces, | 148 | /* Creates listen sockets (in fds) bound to client and server ifaces, |
151 | * and returns numerically max fd. | 149 | * and returns numerically max fd. |
152 | */ | 150 | */ |
@@ -168,7 +166,6 @@ static int init_sockets(char **client_ifaces, int num_clients, | |||
168 | return n; | 166 | return n; |
169 | } | 167 | } |
170 | 168 | ||
171 | |||
172 | /** | 169 | /** |
173 | * pass_to_server() - forwards dhcp packets from client to server | 170 | * pass_to_server() - forwards dhcp packets from client to server |
174 | * p - packet to send | 171 | * p - packet to send |