summaryrefslogtreecommitdiff
path: root/src/lib/compute_ip_checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/compute_ip_checksum.c')
-rw-r--r--src/lib/compute_ip_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compute_ip_checksum.c b/src/lib/compute_ip_checksum.c
index 48f93d4699..58a6bf1ee4 100644
--- a/src/lib/compute_ip_checksum.c
+++ b/src/lib/compute_ip_checksum.c
@@ -40,7 +40,7 @@ unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned
new = ~new & 0xFFFF;
if (offset & 1) {
/* byte swap the sum if it came from an odd offset
- * since the computation is endian independant this
+ * since the computation is endian independent this
* works.
*/
new = ((new >> 8) & 0xff) | ((new << 8) & 0xff00);