Message ID | 20200323214032.23816-1-brian.gix@intel.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] mesh: Fix Replay Protection Cache | expand |
diff --git a/mesh/net.c b/mesh/net.c index 55b1330cc..49c4ee23a 100644 --- a/mesh/net.c +++ b/mesh/net.c @@ -3857,7 +3857,7 @@ void net_msg_add_replay_cache(struct mesh_net *net, uint16_t src, uint32_t seq, if (!rpe) { l_debug("New Entry for %4.4x", src); rpe = l_new(struct mesh_rpl, 1); - rpe->seq = src; + rpe->src = src; } rpe->seq = seq;