summaryrefslogtreecommitdiff
path: root/src/sockets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sockets.cpp')
-rw-r--r--src/sockets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sockets.cpp b/src/sockets.cpp
index 0238b101d..e2191dbd8 100644
--- a/src/sockets.cpp
+++ b/src/sockets.cpp
@@ -332,7 +332,7 @@ bool cidr::operator<(const cidr &other) const
if (i || this->cidr_len >= 128)
return i < 0;
- // Now all thats left is to compare 'remainig' bits at offset this->cidr_len / 8
+ // Now all thats left is to compare 'remaining' bits at offset this->cidr_len / 8
int remaining = this->cidr_len % 8;
unsigned char m = 0xFF << (8 - remaining);