The branch main has been updated by tuexen:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ce929c4769c9fa73eff2f723dd266203b7816657

commit ce929c4769c9fa73eff2f723dd266203b7816657
Author:     Michael Tuexen <tue...@freebsd.org>
AuthorDate: 2025-06-29 19:47:42 +0000
Commit:     Michael Tuexen <tue...@freebsd.org>
CommitDate: 2025-06-29 19:47:42 +0000

    ddb: print FIN flag only one when printing BBLog entries
    
    Fixes:          a62c6b0de48a ("ddb: add optional printing of BBLog entries")
    MFC after:      1 week
    Sponsored by:   Netflix, Inc.
---
 sys/netinet/tcp_log_buf.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c
index 3c62d3b07f99..75d693bc019b 100644
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -3027,15 +3027,9 @@ db_print_tcphdr(struct tcp_log_buffer *tlm_buf)
        if (flags & TH_ECE) {
                db_printf("E");
        }
-       if (flags & TH_FIN) {
-               db_printf("F");
-       }
        if (flags & TH_CWR) {
                db_printf("W");
        }
-       if (flags & TH_FIN) {
-               db_printf("F");
-       }
        if (flags & TH_AE) {
                db_printf("A");
        }

Reply via email to