aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-22 14:37:41 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-22 14:37:41 +0000
commitf3658260ec94e9874e0c773c762b4b49fda29b8e (patch)
treec452b52f0d01316322fefabcb49f3d909666669d /src/pt
parentd80bcf63863d4f2203d76edb8934cbd808ed9e77 (diff)
downloadgnunet-f3658260ec94e9874e0c773c762b4b49fda29b8e.tar.gz
gnunet-f3658260ec94e9874e0c773c762b4b49fda29b8e.zip
remove 'nac' option from VPN, always return IP immediately, always build mesh tunnel asynchronously afterwards
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/gnunet-daemon-pt.c1
-rw-r--r--src/pt/test_gnunet_vpn.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c
index 14f6e0885..19e1629cf 100644
--- a/src/pt/gnunet-daemon-pt.c
+++ b/src/pt/gnunet-daemon-pt.c
@@ -390,7 +390,6 @@ modify_address (struct ReplyContext *rc,
390 rc->rr = GNUNET_VPN_redirect_to_ip (vpn_handle, 390 rc->rr = GNUNET_VPN_redirect_to_ip (vpn_handle,
391 af, af, 391 af, af,
392 rec->data.raw.data, 392 rec->data.raw.data,
393 GNUNET_NO /* nac */,
394 GNUNET_TIME_relative_to_absolute (TIMEOUT), 393 GNUNET_TIME_relative_to_absolute (TIMEOUT),
395 &vpn_allocation_callback, 394 &vpn_allocation_callback,
396 rc); 395 rc);
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c
index 408325776..975cb7ee0 100644
--- a/src/pt/test_gnunet_vpn.c
+++ b/src/pt/test_gnunet_vpn.c
@@ -384,7 +384,7 @@ run (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg,
384 default: 384 default:
385 GNUNET_assert (0); 385 GNUNET_assert (0);
386 } 386 }
387 rr = GNUNET_VPN_redirect_to_ip (vpn, src_af, dest_af, addr, GNUNET_YES, 387 rr = GNUNET_VPN_redirect_to_ip (vpn, src_af, dest_af, addr,
388 GNUNET_TIME_UNIT_FOREVER_ABS, &allocation_cb, 388 GNUNET_TIME_UNIT_FOREVER_ABS, &allocation_cb,
389 NULL); 389 NULL);
390 ctrl_c_task_id = 390 ctrl_c_task_id =