]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pptp.c
CARP: NDOize
[tcpdump] / print-pptp.c
index 9c1db2949c67d51ca597160fd78f692b5ea9c1e1..6ec38f93c98d0267962d04888da266f8fe2d36f4 100644 (file)
  * PPTP support contributed by Motonori Shindo ([email protected])
  */
 
-
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.11 2003-11-16 09:36:33 guy Exp $";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -38,15 +32,7 @@ static const char rcsid[] _U_ =
 #include "interface.h"
 #include "extract.h"
 
-static char tstr[] = " [|pptp]";
-
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
+static const char tstr[] = " [|pptp]";
 
 #define PPTP_MSG_TYPE_CTRL     1       /* Control Message */
 #define PPTP_MSG_TYPE_MGMT     2       /* Management Message (currently not used */
@@ -565,11 +551,12 @@ pptp_result_code_print(const u_int8_t *result_code, int ctrl_msg_type)
                                break;
                        case 4:
                                printf(":Request");
+                               break;
                        default:
                                printf(":?");
                                break;
-                       break;
                        }
+                       break;
                default:
                        /* assertion error */
                        break;