aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tun/test_regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tun/test_regex.c b/src/tun/test_regex.c
index c4c618d85..8af1abd02 100644
--- a/src/tun/test_regex.c
+++ b/src/tun/test_regex.c
@@ -35,8 +35,8 @@ test_iptoregex (const char *ipv4, const char *netmask, const char *expectedv4,
35 35
36 struct in_addr a; 36 struct in_addr a;
37 struct in6_addr b; 37 struct in6_addr b;
38 char rxv4[GNUNET_REGEX_IPV4_REGEXLEN]; 38 char rxv4[GNUNET_TUN_IPV4_REGEXLEN];
39 char rxv6[GNUNET_REGEX_IPV6_REGEXLEN]; 39 char rxv6[GNUNET_TUN_IPV6_REGEXLEN];
40 40
41 GNUNET_assert (1 == inet_pton (AF_INET, ipv4, &a)); 41 GNUNET_assert (1 == inet_pton (AF_INET, ipv4, &a));
42 GNUNET_TUN_ipv4toregex (&a, netmask, rxv4); 42 GNUNET_TUN_ipv4toregex (&a, netmask, rxv4);