aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/pscan.c2
-rw-r--r--networking/udhcp/leases.c2
-rw-r--r--networking/udhcp/socket.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/networking/pscan.c b/networking/pscan.c
index fe146b8bd..9eda16865 100644
--- a/networking/pscan.c
+++ b/networking/pscan.c
@@ -36,7 +36,7 @@ int pscan_main(int argc, char **argv)
const char *opt_max_port = "1024"; /* -P: default max port */
const char *opt_min_port = "1"; /* -p: default min port */
const char *opt_timeout = "5000"; /* -t: default timeout in msec */
- /* We estimate rtt and wait rtt*4 before concluding that port is
+ /* We estimate rtt and wait rtt*4 before concluding that port is
* totally blocked. min rtt of 5 ms may be too low if you are
* scanning an Internet host behind saturated/traffic shaped link.
* Rule of thumb: with min_rtt of N msec, scanning 1000 ports
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c
index 997daea6c..c0864ed20 100644
--- a/networking/udhcp/leases.c
+++ b/networking/udhcp/leases.c
@@ -138,7 +138,7 @@ uint32_t find_address(int check_expired)
/* no lease or it expired and we are checking for expired leases */
if ((!lease || (check_expired && lease_expired(lease)))
- && nobody_responds_to_arp(ret) /* it isn't used on the network */
+ && nobody_responds_to_arp(ret) /* it isn't used on the network */
) {
return ret;
}
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index 21a058545..648f7623c 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -53,7 +53,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t
ifr.ifr_addr.sa_family = AF_INET;
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
if (addr) {
- if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
+ if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
"is interface %s up and configured?", interface)
) {
close(fd);