Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PicoTCP by
Diff: modules/pico_icmp4.c
- Revision:
- 21:909873ea3e67
- Parent:
- 10:dd7111d4279f
--- a/modules/pico_icmp4.c Sat Jun 08 13:48:10 2013 +0000
+++ b/modules/pico_icmp4.c Sun Jun 09 08:01:58 2013 +0000
@@ -134,14 +134,14 @@
return pico_icmp4_notify(f, PICO_ICMP_TIME_EXCEEDED, PICO_ICMP_TIMXCEED_INTRANS);
}
-#ifdef PICO_SUPPORT_IPFILTER
+
int pico_icmp4_packet_filtered(struct pico_frame *f)
{
/*Parameter check executed in pico_icmp4_notify*/
/*Packet Filtered: type 3, code 13 (Communication Administratively Prohibited)*/
return pico_icmp4_notify(f, PICO_ICMP_UNREACH, PICO_ICMP_UNREACH_FILTER_PROHIB);
}
-#endif
+
/***********************/
/* Ping implementation */
