/* specification: RFC 2637 */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
+#include "netdissect-stdinc.h"
#include "netdissect.h"
#include "extract.h"
-static const char tstr[] = " [|pptp]";
#define PPTP_MSG_TYPE_CTRL 1 /* Control Message */
#define PPTP_MSG_TYPE_MGMT 2 /* Management Message (currently not used */
/* attributes that appear more than once in above messages:
Number of
- occurence attributes
+ occurrence attributes
--------------------------------------
2 uint32_t bearer_cap;
2 uint32_t bearer_type;
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
void
uint32_t mc;
uint16_t ctrl_msg_type;
+ ndo->ndo_protocol = "pptp";
ND_PRINT(": pptp");
hdr = (const struct pptp_hdr *)dat;
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}