summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-10 20:38:55 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-10 20:38:55 +0200
commit824aa780d3e181b1960b353a70daf594a118a70f (patch)
treea743d46fe1fd22c663f094454d0ed6e56ee0bb89
parent4bcc5295cfa3df4bba15bb99cfbe36d345da305c (diff)
downloadlibpcap-824aa780d3e181b1960b353a70daf594a118a70f.tar.gz
Fix typos
-rw-r--r--gencode.c2
-rw-r--r--optimize.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gencode.c b/gencode.c
index 29788598..13dbcb5e 100644
--- a/gencode.c
+++ b/gencode.c
@@ -1316,7 +1316,7 @@ init_linktype(compiler_state_t *cstate, pcap_t *p)
* information, i.e. is not source-routed, the correct
* values are 20 and 22, as they are in the vanilla code.
*
- * A packet is source-routed iff the uppermost bit
+ * A packet is source-routed if the uppermost bit
* of the first byte of the source address, at an
* offset of 8, has the uppermost bit set. If the
* packet is source-routed, the total number of bytes
diff --git a/optimize.c b/optimize.c
index 2c9c4b39..230a018d 100644
--- a/optimize.c
+++ b/optimize.c
@@ -2317,7 +2317,7 @@ mark_code(struct icode *ic)
}
/*
- * True iff the two stmt lists load the same value from the packet into
+ * True if the two stmt lists load the same value from the packet into
* the accumulator.
*/
static int