diff --git a/debian/patches/sipwise/add_pv_headers_module.patch b/debian/patches/sipwise/add_pv_headers_module.patch index c97ec0309..2b3125757 100644 --- a/debian/patches/sipwise/add_pv_headers_module.patch +++ b/debian/patches/sipwise/add_pv_headers_module.patch @@ -1,8 +1,6 @@ From: Sipwise Development Team Date: Mon, 18 Nov 2019 10:36:39 +0100 Subject: add_pv_headers_module - -Change-Id: I2e0dd0bd8ff2eaafeaf2114886f1b7ea0cf08470 --- src/Makefile.groups | 2 +- src/modules/pv_headers/Makefile | 12 + @@ -1337,7 +1335,7 @@ index 0000000..556b7bf +#endif /* PV_HEADERS_H */ diff --git a/src/modules/pv_headers/pvh_func.c b/src/modules/pv_headers/pvh_func.c new file mode 100644 -index 0000000..1340500 +index 0000000..22ee74e --- /dev/null +++ b/src/modules/pv_headers/pvh_func.c @@ -0,0 +1,388 @@ @@ -1394,7 +1392,7 @@ index 0000000..1340500 + return -1; + } + } 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"); + return -1; + }