*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "netdissect-stdinc.h"
#define IN_CLASSD(i) (((int32_t)(i) & 0xf0000000) == 0xe0000000)
#endif
-static const char tstr[] = "[|igmp]";
/* (following from ipmulti/mrouted/prune.h) */
ND_PRINT(" with-ttl %u", EXTRACT_U_1(tr->tr_rttl));
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
ND_PRINT(" with-ttl %u", EXTRACT_U_1(tr->tr_rttl));
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
}
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
static void
ND_PRINT("]");
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}
void
{
struct cksum_vec vec[1];
+ ndo->ndo_protocol = "igmp";
if (ndo->ndo_qflag) {
ND_PRINT("igmp");
return;
}
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}