mesh: Use correct TTL value to send model publication
authorInga Stotland <inga.stotland@intel.com>
Thu, 6 Aug 2020 22:55:23 +0000 (15:55 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
commitc864795b1ccef093f864808df4d606bb09914e0c
tree28eeeb1cb99f14837e85e4151fed7824c225b5f8
parente1af0efd6fbe75042f10fab7c9c33fd738d09ad7
mesh: Use correct TTL value to send model publication

When sending model publishing data, use TTL value configured for
that publication instead of the default TTL value used for regular
messages.

Change-Id: I0ddf7ed197e807407ca13402a70af2f9c1dfcd54
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/model.c
mesh/model.h
mesh/node.c