struct lsa6 lsu_lsa[1]; /* may repeat */
};
-static const char tstr[] = " [|ospf3]";
static const struct tok ospf6_option_values[] = {
{ OSPF6_OPTION_V6, "V6" },
* header.
*/
if (length < sizeof(struct lsa6_hdr) || (const u_char *)lsap + length > dataend)
- return (1);
+ return (1);
lsa_length = length - sizeof(struct lsa6_hdr);
tptr = (const uint8_t *)lsap+sizeof(struct lsa6_hdr);
const char *cp;
uint16_t datalen;
+ ndo->ndo_protocol = "ospf3";
op = (const struct ospf6hdr *)bp;
/* If the type is valid translate it, or just print the type */
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}