/* specification: http://www.sflow.org/developers/specifications.php */
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include "netdissect-stdinc.h"
uint32_t sflow_sample_type, sflow_sample_len;
uint32_t nsamples;
+ ndo->ndo_protocol = "sflow";
tptr = pptr;
tlen = len;
sflow_datagram = (const struct sflow_datagram_t *)pptr;
return;
trunc:
- ND_PRINT("[|SFLOW]");
+ nd_print_trunc(ndo);
}
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 4
- * End:
- */