aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-dns2gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-dns2gns.c')
-rw-r--r--src/gns/gnunet-dns2gns.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c
index bb37a42a3..813ecdf8e 100644
--- a/src/gns/gnunet-dns2gns.c
+++ b/src/gns/gnunet-dns2gns.c
@@ -138,7 +138,7 @@ static char *dns_ip;
138/** 138/**
139 * UDP Port we listen on for inbound DNS requests. 139 * UDP Port we listen on for inbound DNS requests.
140 */ 140 */
141static unsigned int listen_port = 2853; 141static unsigned int listen_port = 53;
142 142
143/** 143/**
144 * Which GNS zone do we translate incoming DNS requests to? 144 * Which GNS zone do we translate incoming DNS requests to?
@@ -796,13 +796,17 @@ main (int argc,
796 }; 796 };
797 int ret; 797 int ret;
798 798
799 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, 799 if (GNUNET_OK !=
800 &argc, &argv)) 800 GNUNET_STRINGS_get_utf8_args (argc, argv,
801 &argc, &argv))
801 return 2; 802 return 2;
802 GNUNET_log_setup ("gnunet-dns2gns", "WARNING", NULL); 803 GNUNET_log_setup ("gnunet-dns2gns",
804 "WARNING",
805 NULL);
803 ret = 806 ret =
804 (GNUNET_OK == 807 (GNUNET_OK ==
805 GNUNET_PROGRAM_run (argc, argv, "gnunet-dns2gns", 808 GNUNET_PROGRAM_run (argc, argv,
809 "gnunet-dns2gns",
806 _("GNUnet DNS-to-GNS proxy (a DNS server)"), 810 _("GNUnet DNS-to-GNS proxy (a DNS server)"),
807 options, 811 options,
808 &run, NULL)) ? 0 : 1; 812 &run, NULL)) ? 0 : 1;