]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-telnet.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-telnet.c
index 6c3e7d532c17470a15fd1dd50b490f1e159f41f8..204654ce23a900f9dc35db10eea71d920d8eb629 100644 (file)
@@ -514,6 +514,7 @@ telnet_print(netdissect_options *ndo, const u_char *sp, u_int length)
        const u_char *osp;
        int l;
 
+       ndo->ndo_protocol = "telnet";
        osp = sp;
 
        ND_TCHECK_1(sp);