abf: return status of attachment add/del 67/37367/2
authorMatthew Smith <mgsmith@netgate.com>
Thu, 6 Oct 2022 18:01:23 +0000 (18:01 +0000)
committerNeale Ranns <neale@graphiant.com>
Fri, 7 Oct 2022 04:16:36 +0000 (04:16 +0000)
commitba3d5afb92cf2c89e9b17d17a6668baf17260009
treeb266a8307c2ee5ffe86dcbbac5251cfa01f6a277
parent6ff8e90ed45e25e619f27beee1e0d016234e141e
abf: return status of attachment add/del

Type: fix

The handler for abf_itf_attach_add_del was always returning 0. Set rv to
the return value of call to abf_itf_attach() or abf_itf_detach().

Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Change-Id: Ibb888bb148e6e03fc2776e2384b3a6e26148a429
src/plugins/abf/abf_api.c