diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-21 19:28:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-21 19:28:46 +0000 |
commit | ee731605205a1629d672e65e8372167460bb9f45 (patch) | |
tree | 1ad5121f55b5245cafc6a0f7ce9d267e13191ee9 /src/exit/gnunet-daemon-exit.c | |
parent | 7e7ac6e0b1230a74684f13ced5c49dfaf52f3753 (diff) | |
download | gnunet-ee731605205a1629d672e65e8372167460bb9f45.tar.gz gnunet-ee731605205a1629d672e65e8372167460bb9f45.zip |
-avoid sending useless ICMP payloads and add ICMP PT support for sender side (vpn) of direction vpn->mesh->exit
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 4179e88a7..d2bec5203 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -649,7 +649,7 @@ icmp_from_helper (const struct GNUNET_TUN_IcmpHeader *icmp, | |||
649 | break; | 649 | break; |
650 | default: | 650 | default: |
651 | GNUNET_STATISTICS_update (stats, | 651 | GNUNET_STATISTICS_update (stats, |
652 | gettext_noop ("# ICMP packets dropped (not allowed)"), | 652 | gettext_noop ("# ICMPv4 packets dropped (not allowed)"), |
653 | 1, GNUNET_NO); | 653 | 1, GNUNET_NO); |
654 | return; | 654 | return; |
655 | } | 655 | } |
@@ -684,7 +684,7 @@ icmp_from_helper (const struct GNUNET_TUN_IcmpHeader *icmp, | |||
684 | break; | 684 | break; |
685 | default: | 685 | default: |
686 | GNUNET_STATISTICS_update (stats, | 686 | GNUNET_STATISTICS_update (stats, |
687 | gettext_noop ("# ICMP packets dropped (not allowed)"), | 687 | gettext_noop ("# ICMPv6 packets dropped (not allowed)"), |
688 | 1, GNUNET_NO); | 688 | 1, GNUNET_NO); |
689 | return; | 689 | return; |
690 | } | 690 | } |