]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-http.c
SLL: Remove two useless tests
[tcpdump] / print-http.c
index f4cc0e7bd39ea329128172e8b4ed53fea1f461b8..c8b6be127bc462c6b19c4a99329be630bd808757 100644 (file)
@@ -73,5 +73,6 @@ static const char *httpcmds[] = {
 void
 http_print(netdissect_options *ndo, const u_char *pptr, u_int len)
 {
+       ndo->ndo_protocol = "http";
        txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN);
 }