From: itojun Date: Sat, 17 Mar 2001 04:41:49 +0000 (+0000) Subject: avoid trigraph X-Git-Tag: tcpdump-3.7.1~249 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/c0781576e11dc6df0813823c1fc109f81a39a088 avoid trigraph --- diff --git a/print-ppp.c b/print-ppp.c index 5867e9a4..24369abb 100644 --- a/print-ppp.c +++ b/print-ppp.c @@ -31,7 +31,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.59 2001-02-04 02:17:54 fenner Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.60 2001-03-17 04:41:49 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -980,7 +980,6 @@ handle_ppp(u_int proto, const u_char *p, int length) ipx_print(p, length); break; default: - printf("[???]"); break; } } diff --git a/print-pptp.c b/print-pptp.c index e4c02b16..331d9842 100644 --- a/print-pptp.c +++ b/print-pptp.c @@ -24,7 +24,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.1 2001-03-09 05:38:21 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.2 2001-03-17 04:41:50 itojun Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -312,7 +312,7 @@ pptp_bearer_type_print(const u_int32_t *bearer_type) printf("Any"); break; default: - printf("???"); + printf("?"); break; } printf(")"); @@ -370,7 +370,7 @@ pptp_err_code_print(const u_int8_t *err_code) printf(":PAC-Error"); break; default: - printf(":???"); + printf(":?"); break; } } @@ -411,7 +411,7 @@ pptp_framing_type_print(const u_int32_t *framing_type) printf("E"); /* Either */ break; default: - printf("???"); + printf("?"); break; } printf(")"); @@ -490,7 +490,7 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type) printf(":The protocol version of the requester is not supported"); break; default: - printf(":???"); + printf(":?"); break; } break; @@ -504,7 +504,7 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type) printf(":General Error"); break; default: - printf(":???"); + printf(":?"); break; } break; @@ -532,7 +532,7 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type) printf(":Do Not Accept"); break; default: - printf(":???"); + printf(":?"); break; } break; @@ -548,7 +548,7 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type) printf(":Do Not Accept"); break; default: - printf(":???"); + printf(":?"); break; } break; @@ -566,7 +566,7 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type) case 4: printf(":Request"); default: - printf(":???"); + printf(":?"); break; break; } @@ -669,7 +669,7 @@ pptp_stopccrq_print(const u_char *dat) printf(":Stop-Local-Shutdown"); break; default: - printf(":???"); + printf(":?"); break; } } diff --git a/print-snmp.c b/print-snmp.c index 735f0176..8f8b856d 100644 --- a/print-snmp.c +++ b/print-snmp.c @@ -45,7 +45,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.45 2001-01-24 21:50:58 fenner Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.46 2001-03-17 04:41:50 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -720,7 +720,7 @@ asn1_print(struct be *elem) d = elem->data.uns64.high * 4294967296.0; /* 2^32 */ if (elem->data.uns64.high <= 0x1fffff) { d += elem->data.uns64.low; -#if 0 /*is looks illegal, but what is the intention???*/ +#if 0 /*is looks illegal, but what is the intention?*/ printf("%.f", d); #else printf("%f", d); @@ -728,7 +728,7 @@ asn1_print(struct be *elem) break; } d += (elem->data.uns64.low & 0xfffff000); -#if 0 /*is looks illegal, but what is the intention???*/ +#if 0 /*is looks illegal, but what is the intention?*/ snprintf(first, sizeof(first), "%.f", d); #else snprintf(first, sizeof(first), "%f", d); diff --git a/print-udp.c b/print-udp.c index c51b604c..c9bb189b 100644 --- a/print-udp.c +++ b/print-udp.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.92 2001-02-20 19:03:15 fenner Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.93 2001-03-17 04:41:51 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -396,8 +396,8 @@ static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, #define RIP_PORT 520 /*XXX*/ #define KERBEROS_SEC_PORT 750 /*XXX*/ #define L2TP_PORT 1701 /*XXX*/ -#define ISAKMP_PORT_USER1 7500 /*??? - nonstandard*/ -#define ISAKMP_PORT_USER2 8500 /*??? - nonstandard*/ +#define ISAKMP_PORT_USER1 7500 /*XXX - nonstandard*/ +#define ISAKMP_PORT_USER2 8500 /*XXX - nonstandard*/ #define RX_PORT_LOW 7000 /*XXX*/ #define RX_PORT_HIGH 7009 /*XXX*/ #define NETBIOS_NS_PORT 137