summaryrefslogtreecommitdiff
path: root/strtoaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'strtoaddr.c')
-rw-r--r--strtoaddr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/strtoaddr.c b/strtoaddr.c
index b3b84972..c6f79d9a 100644
--- a/strtoaddr.c
+++ b/strtoaddr.c
@@ -84,8 +84,6 @@ strtoaddr(const char *src, void *dst)
for (;;) {
if (ND_ASCII_ISDIGIT(c)) {
digit = c - '0';
- if (digit >= 10)
- break;
val = (val * 10) + digit;
c = *++src;
} else