summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /networking/udhcp
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c2
-rw-r--r--networking/udhcp/dhcprelay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 881512cf3..c45a0af1a 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -1460,7 +1460,7 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
1460 already_waited_sec += (unsigned)monotonic_sec() - timestamp_before_wait; 1460 already_waited_sec += (unsigned)monotonic_sec() - timestamp_before_wait;
1461 continue; 1461 continue;
1462 } 1462 }
1463 /* Else: an error occured, panic! */ 1463 /* Else: an error occurred, panic! */
1464 bb_perror_msg_and_die("select"); 1464 bb_perror_msg_and_die("select");
1465 } 1465 }
1466 } 1466 }
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index 7cb19b14e..ea84c0dd7 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -361,7 +361,7 @@ int dhcprelay_main(int argc, char **argv)
361// which the reply must be sent (i.e., the host or router interface 361// which the reply must be sent (i.e., the host or router interface
362// connected to the same network as the BOOTP client). If the content 362// connected to the same network as the BOOTP client). If the content
363// of the 'giaddr' field does not match one of the relay agent's 363// of the 'giaddr' field does not match one of the relay agent's
364// directly-connected logical interfaces, the BOOTREPLY messsage MUST be 364// directly-connected logical interfaces, the BOOTREPLY message MUST be
365// silently discarded. 365// silently discarded.
366 if (udhcp_read_interface(iface_list[i], NULL, &dhcp_msg.gateway_nip, NULL)) { 366 if (udhcp_read_interface(iface_list[i], NULL, &dhcp_msg.gateway_nip, NULL)) {
367 /* Fall back to our IP on server iface */ 367 /* Fall back to our IP on server iface */