#include "l2vpn.h"
#include "af.h"
+static const char tstr[] = " [|ldp]";
+
/*
* ldp common header
*
return(tlv_len+4); /* Type & Length fields not included */
trunc:
- ND_PRINT("\n\t\t packet exceeded snapshot");
+ ND_PRINT("%s", tstr);
return 0;
badtlv:
const u_char *pptr, u_int len)
{
int processed;
+
+ ndo->ndo_protocol = "ldp";
while (len > (sizeof(struct ldp_common_header) + sizeof(struct ldp_msg_header))) {
processed = ldp_pdu_print(ndo, pptr);
if (processed == 0)
}
return pdu_len+4;
trunc:
- ND_PRINT("\n\t\t packet exceeded snapshot");
+ ND_PRINT("%s", tstr);
return 0;
}
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */