diff --git a/doc/pcapdump.docbook b/doc/pcapdump.docbook
index a717e1e..9d0daab 100644
--- a/doc/pcapdump.docbook
+++ b/doc/pcapdump.docbook
@@ -21,7 +21,7 @@
DESCRIPTION
- pcapdump captures packets from a network interface and writes them to a dumpfile. The filename argument given to will be formated by strftime(3).
+ pcapdump captures packets from a network interface and writes them to a dumpfile. The filename argument given to will be formatted by strftime(3).
diff --git a/src/pcapuc.c b/src/pcapuc.c
index dd95605..d997617 100644
--- a/src/pcapuc.c
+++ b/src/pcapuc.c
@@ -185,7 +185,7 @@ static void parse_args(int argc, char **argv){
usage("need to specify a packet capture source");
int c = count_src_only + count_dst_only + count_pairs_only;
if(c > 1)
- usage("mutually exclusive options selecetd");
+ usage("mutually exclusive options selected");
else if(c == 0)
usage("select a counting mode");
}
diff --git a/util/net.h b/util/net.h
index b7df4d8..2289724 100644
--- a/util/net.h
+++ b/util/net.h
@@ -213,7 +213,7 @@ struct dnshdr {
/* fields in third byte */
unsigned qr: 1; /* response flag */
unsigned opcode: 4; /* purpose of message */
- unsigned aa: 1; /* authoritive answer */
+ unsigned aa: 1; /* authoritative answer */
unsigned tc: 1; /* truncated message */
unsigned rd: 1; /* recursion desired */
/* fields in fourth byte */
@@ -227,7 +227,7 @@ struct dnshdr {
/* fields in third byte */
unsigned rd :1; /* recursion desired */
unsigned tc :1; /* truncated message */
- unsigned aa :1; /* authoritive answer */
+ unsigned aa :1; /* authoritative answer */
unsigned opcode :4; /* purpose of message */
unsigned qr :1; /* response flag */
/* fields in fourth byte */