X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b83e04bd09ac42db9e362a627568a8efbe099c22..refs/pull/435/head:/print-tcp.c diff --git a/print-tcp.c b/print-tcp.c index afd09395..bc200e2f 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -596,7 +596,7 @@ tcp_print(netdissect_options *ndo, switch(magic) { case 0xf989: - /* TCP Fast Open: draft-ietf-tcpm-fastopen-04 */ + /* TCP Fast Open: RFC 7413 */ if (datalen == 2) { /* Fast Open Cookie Request */ ND_PRINT((ndo, "tfo cookiereq")); @@ -674,8 +674,7 @@ tcp_print(netdissect_options *ndo, } if (sport == TELNET_PORT || dport == TELNET_PORT) { - if (!ndo->ndo_qflag && ndo->ndo_vflag) - telnet_print(ndo, bp, length); + telnet_print(ndo, bp, length); } else if (sport == SMTP_PORT || dport == SMTP_PORT) { ND_PRINT((ndo, ": ")); smtp_print(ndo, bp, length);