]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-http.c
rsvp: fetch a 32-bit quantity into a 32-bit variable.
[tcpdump] / print-http.c
index f4cc0e7bd39ea329128172e8b4ed53fea1f461b8..866f3827feb0e3f3ae65fe81750767a3d2d7e6f1 100644 (file)
@@ -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);
 }