summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2018-10-27 10:30:22 +0100
committerSami Kerola <kerolasa@iki.fi>2018-10-27 10:30:22 +0100
commit8f715b04f1b00ca6e8903640fcbfd8b63220342b (patch)
tree5aa4d23ddbb7e37905e62748c38973560b1b12a6
parent0220aafbfa292c3c74437afa65aeeaebaeee9aa5 (diff)
downloadiputils-8f715b04f1b00ca6e8903640fcbfd8b63220342b.tar.gz
misc: fix couple typos
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--clockdiff.c4
-rw-r--r--doc/tftpd.xml4
-rw-r--r--ninfod/ninfod.sh.in4
-rw-r--r--ping.c2
-rw-r--r--rdisc.c2
-rw-r--r--tracepath.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/clockdiff.c b/clockdiff.c
index 9a9d23a..7e44900 100644
--- a/clockdiff.c
+++ b/clockdiff.c
@@ -262,7 +262,7 @@ empty:
sendtime = ntohl(*(uint32_t*)(icp+1));
diff = recvtime - sendtime;
/*
- * diff can be less than 0 aroud midnight
+ * diff can be less than 0 around midnight
*/
if (diff < 0)
continue;
@@ -477,7 +477,7 @@ empty:
diff = recvtime - sendtime;
/*
- * diff can be less than 0 aroud midnight
+ * diff can be less than 0 around midnight
*/
if (diff < 0)
continue;
diff --git a/doc/tftpd.xml b/doc/tftpd.xml
index 9c32a1a..ac1ce8d 100644
--- a/doc/tftpd.xml
+++ b/doc/tftpd.xml
@@ -63,9 +63,9 @@ for more details.</para>
<title>SECURITY</title>
<para>TFTP protocol does not provide any authentication.
Due to this capital flaw <command>tftpd</command> is not able to restrict
-access to files and will allow only publically readable
+access to files and will allow only publicly readable
files to be accessed. Files may be written only if they already
-exist and are publically writable.</para>
+exist and are publicly writable.</para>
<para>Impact is evident, directory exported via TFTP <emphasis remap='B'>must not</emphasis>
contain sensitive information of any kind, everyone is allowed
diff --git a/ninfod/ninfod.sh.in b/ninfod/ninfod.sh.in
index 4c5e6b5..ccc1387 100644
--- a/ninfod/ninfod.sh.in
+++ b/ninfod/ninfod.sh.in
@@ -9,13 +9,13 @@ fi
case "$1" in
start)
- echo -n "Starting node infomation daemon:"
+ echo -n "Starting node information daemon:"
echo -n " ninfod" ;
$NINFOD
echo "."
;;
stop)
- echo -n "Stopping node infomation daemon:"
+ echo -n "Stopping node information daemon:"
echo -n " ninfod" ;
kill `cat $PID`
echo "."
diff --git a/ping.c b/ping.c
index 791a48e..69f7b30 100644
--- a/ping.c
+++ b/ping.c
@@ -117,7 +117,7 @@ static void create_socket(socket_st *sock, int family, int socktype, int protoco
* to raw socket is necessary.
*
* Kernel returns EACCES for all raw socket creation attempts when the
- * proces doesn't have the `CAP_NET_RAW` capability.
+ * process doesn't have the `CAP_NET_RAW` capability.
*
* 2) EAFNOSUPPORT
*
diff --git a/rdisc.c b/rdisc.c
index 4cc404c..c661ccf 100644
--- a/rdisc.c
+++ b/rdisc.c
@@ -969,7 +969,7 @@ unsigned short in_cksum(unsigned short *addr, int len)
* Heavily buffered STDIO is used here, so that all the statistics
* will be written with 1 sys-write call. This is nice when more
* than one copy of the program is running on a terminal; it prevents
- * the statistics output from becomming intermingled.
+ * the statistics output from becoming intermingled.
*/
void
finish()
diff --git a/tracepath.c b/tracepath.c
index e4974d5..6f2e197 100644
--- a/tracepath.c
+++ b/tracepath.c
@@ -475,7 +475,7 @@ int main(int argc, char **argv)
if (argc != 1)
usage();
- /* Backward compatiblity */
+ /* Backward compatibility */
if (!base_port) {
p = strchr(argv[0], '/');
if (p) {