diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-08-19 17:29:37 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-08-19 17:29:37 +0200 |
commit | b775d0bff25efa0c2ba01f54cfb5bccbad3b99f3 (patch) | |
tree | 0c2bf3f48a0be62df0efa9975c33dab8396d50c9 | |
parent | a3e942e6ee35e5e105406fa6a99d2b5b29475852 (diff) |
netsniff-ng: proto_ipv4: Fix typo in comment
s/coul/could/
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | proto_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_ipv4.c b/proto_ipv4.c index 799040f..cefc6ba 100644 --- a/proto_ipv4.c +++ b/proto_ipv4.c @@ -185,7 +185,7 @@ static void ipv4_less(struct pkt_buff *pkt) /* cut off IP options and everything that is not part of IPv4 payload */ pkt_pull(pkt, max_t(uint8_t, ip->h_ihl, sizeof(*ip) / sizeof(uint32_t)) * sizeof(uint32_t) - sizeof(*ip)); - /* XXX there coul still be an Ethernet trailer included or others */ + /* XXX there could still be an Ethernet trailer included or others */ #if 0 pkt_trim(pkt, pkt_len(pkt) - min(pkt_len(pkt), (ntohs(ip->h_tot_len) - ip->h_ihl * sizeof(uint32_t)))); |