mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
dnstap unbound-dnstap-sock, add -t option.
This commit is contained in:
parent
b912169f15
commit
8d2ff8a6bf
1 changed files with 7 additions and 1 deletions
|
|
@ -1116,7 +1116,7 @@ int main(int argc, char** argv)
|
|||
#endif
|
||||
|
||||
/* command line options */
|
||||
while( (c=getopt(argc, argv, "hls:u:vx:y:z:")) != -1) {
|
||||
while( (c=getopt(argc, argv, "hls:t:u:vx:y:z:")) != -1) {
|
||||
switch(c) {
|
||||
case 'u':
|
||||
if(!cfg_strlist_append(&local_list,
|
||||
|
|
@ -1128,6 +1128,12 @@ int main(int argc, char** argv)
|
|||
strdup(optarg)))
|
||||
fatal_exit("out of memory");
|
||||
break;
|
||||
case 't':
|
||||
if(!cfg_strlist_append(&tls_list,
|
||||
strdup(optarg)))
|
||||
fatal_exit("out of memory");
|
||||
usessl = 1;
|
||||
break;
|
||||
case 'x':
|
||||
server_key = optarg;
|
||||
usessl = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue