From 2b281a79e95961f6694d66a5f16eb065afc38846 Mon Sep 17 00:00:00 2001 From: Galen Wolfe-Pauly Date: Sun, 31 May 2015 12:07:42 -0700 Subject: [PATCH] demo network --- v/ames.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/v/ames.c b/v/ames.c index b48c1d5d29..1303f4e964 100644 --- a/v/ames.c +++ b/v/ames.c @@ -65,7 +65,14 @@ _ames_czar(c3_y imp_y, c3_s* por_s) c3_c* nam_c = u3r_string(nam); c3_c dns_c[64]; - snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); + // test network + if ( 0 == imp_y ) { + strcpy(dns_c,"104.236.149.223"); + } + else { + snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); + } + // snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); // uL(fprintf(uH, "czar %s, dns %s\n", nam_c, dns_c)); free(nam_c);