* draft-ietf-babel-source-specific-0
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
const u_char *cp, u_int length)
{
ndo->ndo_protocol = "babel";
- ND_PRINT("babel");
+ nd_print_protocol(ndo);
ND_TCHECK_4(cp);
trunc:
nd_print_trunc(ndo);
- return;
}
/* TLVs */
message = cp + i;
ICHECK(i, 1);
- ND_TCHECK_1(message);
if((type = GET_U_1(message)) == MESSAGE_PAD1) {
ND_PRINT(ndo->ndo_vflag ? "\n\tPad 1" : " pad1");
i += 1;
invalid:
nd_print_invalid(ndo);
- return;
}