aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-import.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-26 08:54:05 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-26 08:54:05 +0000
commit9697f768d232ceae4954ead924eafc716df24409 (patch)
treeb699eee015024ff9c9ce1398a8014d62171262ed /src/gns/gnunet-gns-import.c
parentdaa94a5947518c0a5dc03e9be302978d61efecf7 (diff)
downloadgnunet-9697f768d232ceae4954ead924eafc716df24409.tar.gz
gnunet-9697f768d232ceae4954ead924eafc716df24409.zip
-document subsystem aliases, add gns-intercept alias for GNS DNS interception, support gns-intercept alias for GNS DNS interception
Diffstat (limited to 'src/gns/gnunet-gns-import.c')
-rw-r--r--src/gns/gnunet-gns-import.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns-import.c b/src/gns/gnunet-gns-import.c
index bd3dfe15e..fb32263bc 100644
--- a/src/gns/gnunet-gns-import.c
+++ b/src/gns/gnunet-gns-import.c
@@ -265,6 +265,7 @@ zone_iterator (void *cls,
265 GNUNET_NAMESTORE_zone_iterator_next (list_it); 265 GNUNET_NAMESTORE_zone_iterator_next (list_it);
266} 266}
267 267
268
268/** 269/**
269 * Get master-zone, short-zone and private-zone keys. 270 * Get master-zone, short-zone and private-zone keys.
270 * 271 *
@@ -435,7 +436,12 @@ run (void *cls, char *const *args, const char *cfgfile,
435 436
436 if (0 != run_process_and_wait (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, &st, &code, 437 if (0 != run_process_and_wait (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, &st, &code,
437 "gnunet-identity", 438 "gnunet-identity",
438 "gnunet-identity", "-e", "short-zone", "-s", "gns-proxy", NULL)) 439 "gnunet-identity", "-e", "master-zone", "-s", "gns-proxy", NULL))
440 return;
441
442 if (0 != run_process_and_wait (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, &st, &code,
443 "gnunet-identity",
444 "gnunet-identity", "-e", "master-zone", "-s", "gns-intercept", NULL))
439 return; 445 return;
440 446
441 if (0 != run_process_and_wait (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, &st, &code, 447 if (0 != run_process_and_wait (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, &st, &code,