aboutsummaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/networking/ping.c b/networking/ping.c
index ed52abf04..14373c8d6 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -236,20 +236,20 @@ static void sendping(int junk)
236static char *icmp_type_name (int id) 236static char *icmp_type_name (int id)
237{ 237{
238 switch (id) { 238 switch (id) {
239 case ICMP_ECHOREPLY: return "Echo Reply"; 239 case ICMP_ECHOREPLY: return "Echo Reply";
240 case ICMP_DEST_UNREACH: return "Destination Unreachable"; 240 case ICMP_DEST_UNREACH: return "Destination Unreachable";
241 case ICMP_SOURCE_QUENCH: return "Source Quench"; 241 case ICMP_SOURCE_QUENCH: return "Source Quench";
242 case ICMP_REDIRECT: return "Redirect (change route)"; 242 case ICMP_REDIRECT: return "Redirect (change route)";
243 case ICMP_ECHO: return "Echo Request"; 243 case ICMP_ECHO: return "Echo Request";
244 case ICMP_TIME_EXCEEDED: return "Time Exceeded"; 244 case ICMP_TIME_EXCEEDED: return "Time Exceeded";
245 case ICMP_PARAMETERPROB: return "Parameter Problem"; 245 case ICMP_PARAMETERPROB: return "Parameter Problem";
246 case ICMP_TIMESTAMP: return "Timestamp Request"; 246 case ICMP_TIMESTAMP: return "Timestamp Request";
247 case ICMP_TIMESTAMPREPLY: return "Timestamp Reply"; 247 case ICMP_TIMESTAMPREPLY: return "Timestamp Reply";
248 case ICMP_INFO_REQUEST: return "Information Request"; 248 case ICMP_INFO_REQUEST: return "Information Request";
249 case ICMP_INFO_REPLY: return "Information Reply"; 249 case ICMP_INFO_REPLY: return "Information Reply";
250 case ICMP_ADDRESS: return "Address Mask Request"; 250 case ICMP_ADDRESS: return "Address Mask Request";
251 case ICMP_ADDRESSREPLY: return "Address Mask Reply"; 251 case ICMP_ADDRESSREPLY: return "Address Mask Reply";
252 default: return "unknown ICMP type"; 252 default: return "unknown ICMP type";
253 } 253 }
254} 254}
255 255