X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/513f782ae18791f0c925b9235da749b38159b607..e67f4fcae8173ccd4a7de1a0c5fedd2265675f81:/print-http.c diff --git a/print-http.c b/print-http.c index 3bed0e44..c8b6be12 100644 --- a/print-http.c +++ b/print-http.c @@ -14,7 +14,7 @@ /* \summary: Hypertext Transfer Protocol (HTTP) printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "netdissect-stdinc.h" @@ -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); }