tptr=pptr;
lspping_com_header = (const struct lspping_common_header *)pptr;
- if (len < sizeof(const struct lspping_common_header))
+ if (len < sizeof(struct lspping_common_header))
goto tooshort;
ND_TCHECK(*lspping_com_header);
else
ND_PRINT((ndo, "no timestamp"));
- tptr+=sizeof(const struct lspping_common_header);
- tlen-=sizeof(const struct lspping_common_header);
+ tptr+=sizeof(struct lspping_common_header);
+ tlen-=sizeof(struct lspping_common_header);
while (tlen != 0) {
/* Does the TLV go past the end of the packet? */