aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-22 07:18:25 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-22 07:18:25 +0000
commit4b0bf15f1e839c26be9312bac4b6e72e9c341b56 (patch)
treeffbf966a937a619255fdaa0e6e1e076f22e58453 /src/vpn
parente284539fe4d076330ca7f09cc791bdfb4164c0ce (diff)
downloadgnunet-4b0bf15f1e839c26be9312bac4b6e72e9c341b56.tar.gz
gnunet-4b0bf15f1e839c26be9312bac4b6e72e9c341b56.zip
rename GNUNET_TUN_ipvXtoregex to GNUNET_TUN_ipvXtoregexsearch to clarify that this is for generating the search strings
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/gnunet-service-vpn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c
index 5230dc631..b4a4bbff5 100644
--- a/src/vpn/gnunet-service-vpn.c
+++ b/src/vpn/gnunet-service-vpn.c
@@ -855,7 +855,7 @@ create_tunnel_to_destination (struct DestinationEntry *de,
855 { 855 {
856 char address[GNUNET_TUN_IPV4_REGEXLEN]; 856 char address[GNUNET_TUN_IPV4_REGEXLEN];
857 857
858 GNUNET_TUN_ipv4toregex (&de->details.exit_destination.ip.v4, 858 GNUNET_TUN_ipv4toregexsearch (&de->details.exit_destination.ip.v4,
859 "255.255.255.255", address); 859 "255.255.255.255", address);
860 GNUNET_asprintf (&policy, "%s%s%s", 860 GNUNET_asprintf (&policy, "%s%s%s",
861 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX, 861 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX,
@@ -867,7 +867,7 @@ create_tunnel_to_destination (struct DestinationEntry *de,
867 { 867 {
868 char address[GNUNET_TUN_IPV6_REGEXLEN]; 868 char address[GNUNET_TUN_IPV6_REGEXLEN];
869 869
870 GNUNET_TUN_ipv6toregex (&de->details.exit_destination.ip.v6, 870 GNUNET_TUN_ipv6toregexsearch (&de->details.exit_destination.ip.v6,
871 128, address); 871 128, address);
872 GNUNET_asprintf (&policy, "%s%s%s", 872 GNUNET_asprintf (&policy, "%s%s%s",
873 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX, 873 GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX,