aboutsummaryrefslogtreecommitdiff
path: root/etherent.c
diff options
context:
space:
mode:
Diffstat (limited to 'etherent.c')
-rw-r--r--etherent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/etherent.c b/etherent.c
index 3504a25e..69da9a54 100644
--- a/etherent.c
+++ b/etherent.c
@@ -44,7 +44,7 @@ static inline int skip_line(FILE *);
static inline u_char
xdtoi(u_char c)
{
- if (c >= '0' && c < '9')
+ if (c >= '0' && c <= '9')
return (u_char)(c - '0');
else if (c >= 'a' && c <= 'f')
return (u_char)(c - 'a' + 10);