summaryrefslogtreecommitdiff
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)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('i',
+ GNUNET_GETOPT_option_flag ('i',
"inbound-only",
gettext_noop ("only monitor DNS queries"),
&inbound_only),
- GNUNET_GETOPT_OPTION_SET_ONE ('o',
+ GNUNET_GETOPT_option_flag ('o',
"outbound-only",
gettext_noop ("only monitor DNS queries"),
&outbound_only),
- GNUNET_GETOPT_OPTION_VERBOSE (&verbosity),
+ GNUNET_GETOPT_option_verbose (&verbosity),
GNUNET_GETOPT_OPTION_END
};
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
main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_STRING ('4',
+ GNUNET_GETOPT_option_string ('4',
"ipv4",
"IPV4",
gettext_noop ("set A records"),
&n4),
- GNUNET_GETOPT_OPTION_STRING ('6',
+ GNUNET_GETOPT_option_string ('6',
"ipv4",
"IPV6",
gettext_noop ("set AAAA records"),
&n6),
- GNUNET_GETOPT_OPTION_VERBOSE (&verbosity),
+ GNUNET_GETOPT_option_verbose (&verbosity),
GNUNET_GETOPT_OPTION_END
};