aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/gnunet-dns-monitor.c6
-rw-r--r--src/dns/gnunet-dns-redirector.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/dns/gnunet-dns-monitor.c b/src/dns/gnunet-dns-monitor.c
index 2436931fb..fb5c768ac 100644
--- a/src/dns/gnunet-dns-monitor.c
+++ b/src/dns/gnunet-dns-monitor.c
@@ -348,17 +348,17 @@ main (int argc, char *const *argv)
348{ 348{
349 struct GNUNET_GETOPT_CommandLineOption options[] = { 349 struct GNUNET_GETOPT_CommandLineOption options[] = {
350 350
351 GNUNET_GETOPT_OPTION_SET_ONE ('i', 351 GNUNET_GETOPT_option_flag ('i',
352 "inbound-only", 352 "inbound-only",
353 gettext_noop ("only monitor DNS queries"), 353 gettext_noop ("only monitor DNS queries"),
354 &inbound_only), 354 &inbound_only),
355 355
356 GNUNET_GETOPT_OPTION_SET_ONE ('o', 356 GNUNET_GETOPT_option_flag ('o',
357 "outbound-only", 357 "outbound-only",
358 gettext_noop ("only monitor DNS queries"), 358 gettext_noop ("only monitor DNS queries"),
359 &outbound_only), 359 &outbound_only),
360 360
361 GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), 361 GNUNET_GETOPT_option_verbose (&verbosity),
362 GNUNET_GETOPT_OPTION_END 362 GNUNET_GETOPT_OPTION_END
363 }; 363 };
364 364
diff --git a/src/dns/gnunet-dns-redirector.c b/src/dns/gnunet-dns-redirector.c
index 0469af732..44d3d0b6c 100644
--- a/src/dns/gnunet-dns-redirector.c
+++ b/src/dns/gnunet-dns-redirector.c
@@ -231,19 +231,19 @@ int
231main (int argc, char *const *argv) 231main (int argc, char *const *argv)
232{ 232{
233 struct GNUNET_GETOPT_CommandLineOption options[] = { 233 struct GNUNET_GETOPT_CommandLineOption options[] = {
234 GNUNET_GETOPT_OPTION_STRING ('4', 234 GNUNET_GETOPT_option_string ('4',
235 "ipv4", 235 "ipv4",
236 "IPV4", 236 "IPV4",
237 gettext_noop ("set A records"), 237 gettext_noop ("set A records"),
238 &n4), 238 &n4),
239 239
240 GNUNET_GETOPT_OPTION_STRING ('6', 240 GNUNET_GETOPT_option_string ('6',
241 "ipv4", 241 "ipv4",
242 "IPV6", 242 "IPV6",
243 gettext_noop ("set AAAA records"), 243 gettext_noop ("set AAAA records"),
244 &n6), 244 &n6),
245 245
246 GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), 246 GNUNET_GETOPT_option_verbose (&verbosity),
247 GNUNET_GETOPT_OPTION_END 247 GNUNET_GETOPT_OPTION_END
248 }; 248 };
249 249