| 1 | diff -Nurp a/src/common/tcp_info.cc b/src/common/tcp_info.cc
|
| 2 | |
| 3 | |
| 4 | @@ -104,12 +104,16 @@ bool dump_tcp_info(int fd, Formatter* f)
|
| 5 | if (info.tcpi_options & TCPI_OPT_ECN) {
|
| 6 | f->dump_string("option", "ecn");
|
| 7 | }
|
| 8 | +#ifdef TCPI_OPT_ECN_SEEN
|
| 9 | if (info.tcpi_options & TCPI_OPT_ECN_SEEN) {
|
| 10 | f->dump_string("option", "ecn seen");
|
| 11 | }
|
| 12 | +#endif
|
| 13 | +#ifdef TCPI_OPT_SYN_DATA
|
| 14 | if (info.tcpi_options & TCPI_OPT_SYN_DATA) {
|
| 15 | f->dump_string("option", "syn data");
|
| 16 | }
|
| 17 | +#endif
|
| 18 | f->close_section();
|
| 19 |
|
| 20 | f->close_section();
|