]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-l2tp.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-l2tp.c
index eb05029c8d8fb2951799203d6dc62966c3937500..ed351af947594d37032bf93c69f0c376005f9112 100644 (file)
@@ -775,6 +775,7 @@ l2tp_print(netdissect_options *ndo, const u_char *dat, u_int length)
        int flag_t, flag_l, flag_s, flag_o;
        uint16_t l2tp_len;
 
+       ndo->ndo_protocol = "l2tp";
        flag_t = flag_l = flag_s = flag_o = FALSE;
 
        ND_TCHECK_2(ptr);       /* Flags & Version */