/* \summary: IEEE "slow protocols" (802.3ad/802.3ah) printer */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "netdissect-stdinc.h"
#include "addrtoname.h"
#include "oui.h"
+
#define SLOW_PROTO_LACP 1
#define SLOW_PROTO_MARKER 2
#define SLOW_PROTO_OAM 3
int print_version;
u_int subtype;
+ ndo->ndo_protocol = "slow";
if (len < 1)
goto tooshort;
ND_TCHECK_1(pptr);
return;
trunc:
- if (!ndo->ndo_vflag)
- ND_PRINT(" (packet exceeded snapshot)");
- else
- ND_PRINT("\n\t\t packet exceeded snapshot");
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("\n\t\t packet exceeded snapshot");
+ nd_print_trunc(ndo);
}
static void
return;
trunc:
- ND_PRINT("\n\t\t packet exceeded snapshot");
+ nd_print_trunc(ndo);
}