TT#73652 pv_headers: fix detection of branch flag

* this error was introduced at 184ec37472

Change-Id: I2ccd6f9d2ec7341aa7a6eccfbddb8c966d258a2d
changes/51/37051/1
Victor Seva 5 years ago
parent 6b1b0af62c
commit 9f33a716ba

@ -1,8 +1,6 @@
From: Sipwise Development Team <support@sipwise.com> From: Sipwise Development Team <support@sipwise.com>
Date: Mon, 18 Nov 2019 10:36:39 +0100 Date: Mon, 18 Nov 2019 10:36:39 +0100
Subject: add_pv_headers_module Subject: add_pv_headers_module
Change-Id: I2e0dd0bd8ff2eaafeaf2114886f1b7ea0cf08470
--- ---
src/Makefile.groups | 2 +- src/Makefile.groups | 2 +-
src/modules/pv_headers/Makefile | 12 + src/modules/pv_headers/Makefile | 12 +
@ -1337,7 +1335,7 @@ index 0000000..556b7bf
+#endif /* PV_HEADERS_H */ +#endif /* PV_HEADERS_H */
diff --git a/src/modules/pv_headers/pvh_func.c b/src/modules/pv_headers/pvh_func.c diff --git a/src/modules/pv_headers/pvh_func.c b/src/modules/pv_headers/pvh_func.c
new file mode 100644 new file mode 100644
index 0000000..1340500 index 0000000..22ee74e
--- /dev/null --- /dev/null
+++ b/src/modules/pv_headers/pvh_func.c +++ b/src/modules/pv_headers/pvh_func.c
@@ -0,0 +1,388 @@ @@ -0,0 +1,388 @@
@ -1394,7 +1392,7 @@ index 0000000..1340500
+ return -1; + return -1;
+ } + }
+ } else { + } else {
+ if(isbflagset(br_idx, FL_PV_HDRS_COLLECTED)) { + if(isbflagset(br_idx, FL_PV_HDRS_COLLECTED) == 1) {
+ LM_ERR("headers are already collected\n"); + LM_ERR("headers are already collected\n");
+ return -1; + return -1;
+ } + }

Loading…
Cancel
Save