summaryrefslogtreecommitdiff
path: root/print-pppoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-pppoe.c')
-rw-r--r--print-pppoe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/print-pppoe.c b/print-pppoe.c
index 9452b19e..50ae0996 100644
--- a/print-pppoe.c
+++ b/print-pppoe.c
@@ -150,7 +150,6 @@ pppoe_print(netdissect_options *ndo, const u_char *bp, u_int length)
* tag_type is previous tag or 0xffff for first iteration
*/
while (tag_type && p < pppoe_payload + pppoe_length) {
- ND_TCHECK_4(p);
tag_type = GET_BE_U_2(p);
tag_len = GET_BE_U_2(p + 2);
p += 4;