Browse Source

nftset: fix domain-rule for nftset short option missing issue.

Nick Peng 2 years ago
parent
commit
1cde3f7335
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dns_conf.c

+ 1 - 1
src/dns_conf.c

@@ -1872,7 +1872,7 @@ static int _conf_domain_rules(void *data, int argc, char *argv[])
 	/* process extra options */
 	optind = 1;
 	while (1) {
-		opt = getopt_long_only(argc, argv, "c:a:p:n:d:", long_options, NULL);
+		opt = getopt_long_only(argc, argv, "c:a:p:t:n:d:", long_options, NULL);
 		if (opt == -1) {
 			break;
 		}