Replace incoming EDNS0_OPTION_NOMDEVICEID and EDNS0_OPTION_NOMCPEID options.

This commit is contained in:
Simon Kelley
2016-02-28 21:48:34 +00:00
parent 22fe2fd038
commit c7f3bd2ac8
5 changed files with 37 additions and 14 deletions

View File

@@ -2171,7 +2171,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
daemon->dns_client_id = opt_string_alloc(arg);
break;
case LOPT_ADD_MAC:
case LOPT_ADD_MAC: /* --add-mac */
if (!arg)
set_option_bool(OPT_ADD_MAC);
else