Compare commits

...
3 Commits
Author SHA1 Message Date
Simon Kelley 292dfa653e Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq 2022-02-02 18:31:22 +00:00
Olaf Hering b18e9c8c61 fix dnsmasq typo in man page
Fixes commit 27ce754b3d

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2022-01-21 12:18:08 +00:00
Simon Kelley a3293bb242 Fix indentation in Umbrella option code. 2022-01-21 12:07:42 +00:00
2 changed files with 8 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -777,7 +777,7 @@ will add 1.2.3.0/24 for both IPv4 and IPv6 requestors.
.TP .TP
.B --strip-subnet .B --strip-subnet
Remove any subnet address already present in a downstream query before forwarding it upstream. If --add-subnet is set this also Remove any subnet address already present in a downstream query before forwarding it upstream. If --add-subnet is set this also
ensures that any downstream-provided subnet is replaced by the one added by dnsmasq. Otherwise, dnsmaaq will NOT replace an ensures that any downstream-provided subnet is replaced by the one added by dnsmasq. Otherwise, dnsmasq will NOT replace an
existing subnet in the query. existing subnet in the query.
.TP .TP
.B --umbrella[=[deviceid:<deviceid>][,orgid:<orgid>][,assetid:<id>]] .B --umbrella[=[deviceid:<deviceid>][,orgid:<orgid>][,assetid:<id>]]
+7 -7
View File
@@ -2555,13 +2555,13 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
if (!strtoul_check(arg+6, &daemon->umbrella_org)) if (!strtoul_check(arg+6, &daemon->umbrella_org))
ret_err(gen_err); ret_err(gen_err);
} }
else if (strstr(arg, "assetid:")) else if (strstr(arg, "assetid:"))
{ {
if (!strtoul_check(arg+8, &daemon->umbrella_asset)) if (!strtoul_check(arg+8, &daemon->umbrella_asset))
ret_err(gen_err); ret_err(gen_err);
} }
else else
ret_err(gen_err); ret_err(gen_err);
arg = comma; arg = comma;
} }