aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcprelay.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-21 07:05:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-21 07:05:06 +0000
commit6de8994440165e2f30c50d2d7c1f332d9cd649bd (patch)
treed1e2794c09b2b73e93e64c84444cb52806498494 /networking/udhcp/dhcprelay.c
parent19903f0d447116baef455eddc14458b1dfd1c834 (diff)
downloadbusybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.tar.gz
busybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.tar.bz2
busybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.zip
udhcpc: regularize the names of receiving functions,
pause on "serious failure to receive". Some misc fixes are also folded in here.
Diffstat (limited to 'networking/udhcp/dhcprelay.c')
-rw-r--r--networking/udhcp/dhcprelay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index def1bc297..08fb733d7 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -257,7 +257,7 @@ static void dhcprelay_loop(int *fds, int num_sockets, int max_socket, char **cli
257 if (select(max_socket + 1, &rfds, NULL, NULL, &tv) > 0) { 257 if (select(max_socket + 1, &rfds, NULL, NULL, &tv) > 0) {
258 /* server */ 258 /* server */
259 if (FD_ISSET(fds[0], &rfds)) { 259 if (FD_ISSET(fds[0], &rfds)) {
260 packlen = udhcp_recv_packet(&dhcp_msg, fds[0]); 260 packlen = udhcp_recv_kernel_packet(&dhcp_msg, fds[0]);
261 if (packlen > 0) { 261 if (packlen > 0) {
262 pass_back(&dhcp_msg, packlen, fds); 262 pass_back(&dhcp_msg, packlen, fds);
263 } 263 }