aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-service-vpn.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-12-05 14:15:25 +0000
committerBart Polot <bart@net.in.tum.de>2013-12-05 14:15:25 +0000
commit44d957c38051c6e778595b74f4a831da8ad1a179 (patch)
tree235e33b27ba570e6e857f306ff4ed27791d21d14 /src/vpn/gnunet-service-vpn.c
parentb83fc2e7baf2713881c1ff59971e6dbd4609e771 (diff)
downloadgnunet-44d957c38051c6e778595b74f4a831da8ad1a179.tar.gz
gnunet-44d957c38051c6e778595b74f4a831da8ad1a179.zip
- change mesh channel creation/notification API
Diffstat (limited to 'src/vpn/gnunet-service-vpn.c')
-rw-r--r--src/vpn/gnunet-service-vpn.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c
index eebdcac55..16e84e715 100644
--- a/src/vpn/gnunet-service-vpn.c
+++ b/src/vpn/gnunet-service-vpn.c
@@ -731,8 +731,7 @@ handle_regex_result (void *cls,
731 ts, 731 ts,
732 id, 732 id,
733 apptype, 733 apptype,
734 GNUNET_YES, 734 GNUNET_MESH_OPTION_DEFAULT);
735 GNUNET_NO);
736} 735}
737 736
738 737
@@ -778,8 +777,7 @@ create_channel_to_destination (struct DestinationChannel *dt,
778 ts, 777 ts,
779 &dt->destination->details.service_destination.target, 778 &dt->destination->details.service_destination.target,
780 apptype, 779 apptype,
781 GNUNET_YES, 780 GNUNET_MESH_OPTION_DEFAULT);
782 GNUNET_NO);
783 if (NULL == ts->channel) 781 if (NULL == ts->channel)
784 { 782 {
785 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 783 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -815,7 +813,7 @@ create_channel_to_destination (struct DestinationChannel *dt,
815 char address[GNUNET_TUN_IPV6_REGEXLEN]; 813 char address[GNUNET_TUN_IPV6_REGEXLEN];
816 814
817 GNUNET_TUN_ipv6toregexsearch (&dt->destination->details.exit_destination.ip.v6, 815 GNUNET_TUN_ipv6toregexsearch (&dt->destination->details.exit_destination.ip.v6,
818 dt->destination_port, 816 dt->destination_port,
819 address); 817 address);
820 GNUNET_asprintf (&policy, "%s%s", 818 GNUNET_asprintf (&policy, "%s%s",
821 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX, 819 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX,