summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff')
-rw-r--r--meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff43
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff b/meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff
deleted file mode 100644
index 40070c346d..0000000000
--- a/meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff
+++ /dev/null
@@ -1,43 +0,0 @@
1Upstream-Status: Pending [from other distro Debian]
2
3Index: trunk/ping.c
4===================================================================
5--- trunk.orig/ping.c 2010-05-07 23:13:54.000000000 -0700
6+++ trunk/ping.c 2010-05-07 23:23:22.000000000 -0700
7@@ -883,9 +883,36 @@
8 case ICMP_SR_FAILED:
9 printf("Source Route Failed\n");
10 break;
11+ case ICMP_NET_UNKNOWN:
12+ printf("Destination Net Unknown\n");
13+ break;
14+ case ICMP_HOST_UNKNOWN:
15+ printf("Destination Host Unknown\n");
16+ break;
17+ case ICMP_HOST_ISOLATED:
18+ printf("Source Host Isolated\n");
19+ break;
20+ case ICMP_NET_ANO:
21+ printf("Destination Net Prohibited\n");
22+ break;
23+ case ICMP_HOST_ANO:
24+ printf("Destination Host Prohibited\n");
25+ break;
26+ case ICMP_NET_UNR_TOS:
27+ printf("Destination Net Unreachable for Type of Service\n");
28+ break;
29+ case ICMP_HOST_UNR_TOS:
30+ printf("Destination Host Unreachable for Type of Service\n");
31+ break;
32 case ICMP_PKT_FILTERED:
33 printf("Packet filtered\n");
34 break;
35+ case ICMP_PREC_VIOLATION:
36+ printf("Precedence Violation\n");
37+ break;
38+ case ICMP_PREC_CUTOFF:
39+ printf("Precedence Cutoff\n");
40+ break;
41 default:
42 printf("Dest Unreachable, Bad Code: %d\n", code);
43 break;