X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..50f375f9f1444e744d6e4b117940f0a7c9dd8c23:/print-http.c?ds=sidebyside diff --git a/print-http.c b/print-http.c index f4cc0e7b..866f3827 100644 --- a/print-http.c +++ b/print-http.c @@ -73,5 +73,6 @@ static const char *httpcmds[] = { void http_print(netdissect_options *ndo, const u_char *pptr, u_int len) { - txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN); + ndo->ndo_protocol = "http"; + txtproto_print(ndo, pptr, len, httpcmds, RESP_CODE_SECOND_TOKEN); }