Commit 8a926392 authored by Jeremy Harris's avatar Jeremy Harris

Tweak estab-time WS indication

parent 7eabc075
......@@ -2754,8 +2754,14 @@ nextrpc:
/* Estab-time wscale */
if (ptcpo->ws != -1 && !SYN_SET(ptcp)) {
plotter_perm_color(to_tsgpl, window_color);
plotter_text(to_tsgpl, current_time, SeqRep(otherdir, ack),
"a", " WS");
if (thisdir->f1323_ws)
plotter_text(to_tsgpl, current_time, SeqRep(otherdir, ack), "b", "WS");
else {
char str[8];
snprintf(str, sizeof(str), "WS %d", thisdir->window_scale = ptcpo->ws);
plotter_text(to_tsgpl, current_time, SeqRep(otherdir, ack), "b", str);
thisdir->tcpw_auto = FALSE;
}
}
} else {
plotter_dtick(to_tsgpl, current_time, SeqRep(otherdir,ack));
......@@ -2771,8 +2777,14 @@ nextrpc:
/* Estab-time wscale */
if (ptcpo->ws != -1 && !SYN_SET(ptcp)) {
plotter_perm_color(to_tsgpl, window_color);
plotter_text(to_tsgpl, current_time, SeqRep(otherdir,
ack), "ar", " WS");
if (thisdir->f1323_ws)
plotter_text(to_tsgpl, current_time, SeqRep(otherdir, ack), "b", "WS");
else {
char str[8];
snprintf(str, sizeof(str), "WS %d", thisdir->window_scale = ptcpo->ws);
plotter_text(to_tsgpl, current_time, SeqRep(otherdir, ack), "b", str);
thisdir->tcpw_auto = FALSE;
}
}
}
if (show_out_order && hw_reorder) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment