summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2022-01-01 23:03:26 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2022-01-01 23:03:26 +0000
commit2748fb81e23b71e2c44956e99321816aca91905d (patch)
tree6cabca5f8d7c47510b63438a74234df25f5812a8
parent46312909d9080ff8743133fbd52427b4b2213171 (diff)
downloaddnsmasq-2748fb81e23b71e2c44956e99321816aca91905d.tar.gz
Fix 46312909d9080ff8743133fbd52427b4b2213171 typo.
-rw-r--r--src/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c
index c57f6d8..6f56ce8 100644
--- a/src/option.c
+++ b/src/option.c
@@ -357,7 +357,7 @@ static const struct myoption opts[] =
{ "dhcp-ignore-clid", 0, 0, LOPT_IGNORE_CLID },
{ "dynamic-host", 1, 0, LOPT_DYNHOST },
{ "log-debug", 0, 0, LOPT_LOG_DEBUG },
- { "umbrella", 2, 0, LOPT_UMBRELLA },
+ { "umbrella", 2, 0, LOPT_UMBRELLA },
{ "quiet-tftp", 0, 0, LOPT_QUIET_TFTP },
{ NULL, 0, 0, 0 }
};
@@ -2526,7 +2526,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
if (strlen(arg) != 16)
ret_err(gen_err);
char *p;
- for (*p = arg; *p; p++) {
+ for (p = arg; *p; p++) {
if (!isxdigit((int)*p))
ret_err(gen_err);
}