aboutsummaryrefslogtreecommitdiff
path: root/etherent.c
diff options
context:
space:
mode:
authorBill Fenner <fenner@gmail.com>2019-09-24 07:48:00 -0700
committerBill Fenner <fenner@gmail.com>2019-09-24 07:53:41 -0700
commitcad44431b4db8b18e60b7f1d24cbaff6b4333095 (patch)
tree23593cfa0bc1031adc23d9d6bd2c33c461b784ae /etherent.c
parent65462801e83685595b5817170956654a9499b26f (diff)
Nine is a digit.
Fixes fencepost errors in git commit 5a41835
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);