enrich verbose messages
authorMazet Laurent <laurent.mazet@thalesgroup.com>
Wed, 2 Jul 2025 12:41:25 +0000 (14:41 +0200)
committerMazet Laurent <laurent.mazet@thalesgroup.com>
Wed, 2 Jul 2025 12:41:25 +0000 (14:41 +0200)
ulvpn.c

diff --git a/ulvpn.c b/ulvpn.c
index c2c4ecde93be6014adedf72cab59f9a81625c76c..889fb24101e9d46c5bf9075aa620cc525400757a 100644 (file)
--- a/ulvpn.c
+++ b/ulvpn.c
@@ -505,7 +505,7 @@ int main (int argc, char **argv)
                 VERBOSE (ulvpn, DEBUG, PRINTF ("received %d bytes from CM black\n", rxlen));
 
                 if ((rxred_fd >= 0) && (seqtx != seqrx)) {
-                    VERBOSE (ulvpn, WARNING, PRINTF ("incoherent seqnum (%d/%d)\n", seqtx, seqrx));
+                    VERBOSE (ulvpn, WARNING, PRINTF ("incoherent seqnum (%d/%d) from black\n", seqtx, seqrx));
                 }
 
                 if (msgtype == 0x01) {
@@ -548,7 +548,7 @@ int main (int argc, char **argv)
                 VERBOSE (ulvpn, DEBUG, PRINTF ("received %d bytes from CM red\n", rxlen));
 
                 if ((rxblack_fd >= 0) && (seqtx != seqrx)) {
-                    VERBOSE (ulvpn, WARNING, PRINTF ("incoherent seqnum (%d/%d)\n", seqtx, seqrx));
+                    VERBOSE (ulvpn, WARNING, PRINTF ("incoherent seqnum (%d/%d) from red\n", seqtx, seqrx));
                 }
 
                 if (msgtype == 0x03) {