/* RFC 3775 */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
+#include "netdissect-stdinc.h"
#include "netdissect.h"
#include "addrtoname.h"
#include "ip6.h"
-static const char tstr[] = "[|MOBILITY]";
/* Mobility header */
struct ip6_mobility {
unsigned mhlen, hlen;
uint8_t type;
+ ndo->ndo_protocol = "mobility";
mh = (const struct ip6_mobility *)bp;
/* 'ep' points to the end of available data. */
return(mhlen);
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
return(-1);
}