mesh: Add interface output filter
authorIsak Westin <isak.westin@hotmail.com>
Wed, 21 Sep 2022 11:16:28 +0000 (13:16 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commitbc1e3ba5680739a34304f324bf726a4c97d6bc72
tree8a79f8290bce4401f15eb19c38808ecac994125b
parentf0bc803a893630286dd61624fb8c23e2dd0e68d8
mesh: Add interface output filter

According to the mesh profile (3.4.5.2), if TTL is set to 1 for an
outgoing message, that message shall be dropped.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/net.c