mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-31 13:10:35 +00:00
Add --add-mac=text option.
This commit is contained in:
1 parent
fdc97e1383
commit
9e4cf47ee8
4 files changed
+18
-11
No files matched your search
+3
-2
@@ -2172,8 +2172,9 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
|
||||
unhide_metas(arg);
|
||||
if (strcmp(arg, "base64") == 0)
|
||||
set_option_bool(OPT_MAC_B64);
|
||||
else
|
||||
ret_err(gen_err);
|
||||
else if (strcmp(arg, "text") == 0)
|
||||
set_option_bool(OPT_MAC_HEX);
|
||||
ret_err(gen_err);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user