npt66: ensure feature is not configured multiple times 06/39506/3
authorOle Troan <otroan@employees.org>
Fri, 8 Sep 2023 09:32:33 +0000 (11:32 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 19 Sep 2023 14:16:28 +0000 (14:16 +0000)
commita05f93a9e53d0ade8669122592f7aae231adfffc
treef461424ea4ab65e4b9e66cd600a85600a6cf0e4e
parentae036d3b7d911788a9ead084bf89dd72c763d9f1
npt66: ensure feature is not configured multiple times

If the control agent enabled a binding on an interface multiple times,
we would add the node in the feature arc multiple times.

Type: fix
Change-Id: I2ca247db0a0211f5fa3974a18ca4fcae8485cb12
Signed-off-by: Ole Troan <otroan@employees.org>
src/plugins/npt66/npt66.c
src/plugins/npt66/npt66_node.c