mesh: Check for enabled modes when dst is fixed address
authorInga Stotland <inga.stotland@intel.com>
Tue, 18 Aug 2020 22:22:08 +0000 (15:22 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commitbbf5f16dff588fe8d9e675801fb66067c98c6d5a
tree530b3d43e4d70602fcb369b27cf1fab1de0d8744
parent774201079ee6fc362ac6db7fc9d50112575dc2e0
mesh: Check for enabled modes when dst is fixed address

This moves the check for incoming messages addressed to fixed addresses,
e.g. RELAY, PROXY, FRIEND. If the corresponding feature is not enabled,
the message is not processed.

Change-Id: I0d7ccefa3e905cf5c7c9a35b12ef0bbbcf74a9e5
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/model.c
mesh/net.c