aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-26 20:44:29 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-26 20:44:29 +0200
commitc62b46170dfbd969f8cbadc4f3069a45832b804f (patch)
treed3529e573a3c4756ab53a63e01a2cb1fd8739f68 /src
parent65d6d14a16172c3a5128bb6732a3d1c35eeb0425 (diff)
downloadgnunet-c62b46170dfbd969f8cbadc4f3069a45832b804f.tar.gz
gnunet-c62b46170dfbd969f8cbadc4f3069a45832b804f.zip
disable LAN/loopback for AC
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_xt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_xt.c b/src/transport/plugin_transport_xt.c
index 9ed0f43c9..21ed19da5 100644
--- a/src/transport/plugin_transport_xt.c
+++ b/src/transport/plugin_transport_xt.c
@@ -1450,6 +1450,12 @@ tcp_nat_port_map_callback (void *cls,
1450 void *arg; 1450 void *arg;
1451 size_t args; 1451 size_t args;
1452 1452
1453 if (GNUNET_NAT_AC_LOOPBACK == ac)
1454 return;
1455 if (GNUNET_NAT_AC_LAN == ac)
1456 return;
1457 if (GNUNET_NAT_AC_LAN_PRIVATE == ac)
1458 return;
1453 LOG (GNUNET_ERROR_TYPE_INFO, 1459 LOG (GNUNET_ERROR_TYPE_INFO,
1454 "NAT notification to %s address `%s'\n", 1460 "NAT notification to %s address `%s'\n",
1455 (GNUNET_YES == add_remove) ? "add" : "remove", 1461 (GNUNET_YES == add_remove) ? "add" : "remove",