/* specification: RFC 7348 */
#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[] = " [|VXLAN]";
#define VXLAN_HDR_LEN 8
uint8_t flags;
uint32_t vni;
+ ndo->ndo_protocol = "vxlan";
if (len < VXLAN_HDR_LEN)
goto trunc;
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}