]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vqp.c
Rename some link-layer dissector entry functions
[tcpdump] / print-vqp.c
index 90cf8ddfef9bf785395447184afafb7054dc9834..6e1c909fa361681381712f54258bfa52cfad8882 100644 (file)
@@ -148,8 +148,8 @@ vqp_print(netdissect_options *ndo, register const u_char *pptr, register u_int l
            len));
 
     /* skip VQP Common header */
-    tptr+=sizeof(const struct vqp_common_header_t);
-    tlen-=sizeof(const struct vqp_common_header_t);
+    tptr+=sizeof(struct vqp_common_header_t);
+    tlen-=sizeof(struct vqp_common_header_t);
 
     while (nitems > 0 && tlen > 0) {