summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutz Bichler <Lutz.Bichler@gmail.com>2020-12-14 13:19:56 +0100
committerLutz Bichler <Lutz.Bichler@gmail.com>2020-12-14 13:19:56 +0100
commit13f9c89ced6ffaeb1faf485152e27e1f40d234cd (patch)
tree8dc165378fe61283458dec3200f13dcf6a18ef53
parent0f51130b96b5400b87924d8705d0e4a77930cb61 (diff)
downloadvSomeIP-13f9c89ced6ffaeb1faf485152e27e1f40d234cd.tar.gz
vsomeip 3.1.20.33.1.20.3
-rw-r--r--CHANGES3
-rw-r--r--CMakeLists.txt2
-rw-r--r--implementation/routing/src/routing_manager_base.cpp5
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index e750b97..954f70c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
Changes
=======
+v3.1.20.3
+- Correct detection payload changes (Issue #164)
+
v3.1.20.2
- Removed special way of detecting boost within NDK (PR #187)
- Allow events/eventgroups to be specified in arbitrary order (Issue #68)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f0491a..65148a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ set (VSOMEIP_COMPAT_NAME vsomeip)
set (VSOMEIP_MAJOR_VERSION 3)
set (VSOMEIP_MINOR_VERSION 1)
set (VSOMEIP_PATCH_VERSION 20)
-set (VSOMEIP_HOTFIX_VERSION 2)
+set (VSOMEIP_HOTFIX_VERSION 3)
set (VSOMEIP_VERSION ${VSOMEIP_MAJOR_VERSION}.${VSOMEIP_MINOR_VERSION}.${VSOMEIP_PATCH_VERSION})
set (PACKAGE_VERSION ${VSOMEIP_VERSION}) # Used in documentation/doxygen.in
diff --git a/implementation/routing/src/routing_manager_base.cpp b/implementation/routing/src/routing_manager_base.cpp
index afdf5ae..960ae60 100644
--- a/implementation/routing/src/routing_manager_base.cpp
+++ b/implementation/routing/src/routing_manager_base.cpp
@@ -360,7 +360,10 @@ void routing_manager_base::register_event(client_t _client,
// Check whether all additional bytes (if any) are excluded
for (length_t i = its_min_length; i < its_max_length; i++) {
auto j = its_debounce->ignore_.find(i);
- if (j == its_debounce->ignore_.end() && j->second == 0xFF) {
+ // A change is detected when an additional byte is not
+ // excluded at all or if its exclusion does not cover
+ // all its bits.
+ if (j == its_debounce->ignore_.end() || j->second != 0xFF) {
is_changed = true;
break;
}