nat: correct pool ops when disable nat44 plugin 97/32997/8
authorAlexander Skorichenko <askorichenko@netgate.com>
Fri, 2 Jul 2021 17:10:52 +0000 (13:10 -0400)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 12 Aug 2021 16:26:03 +0000 (16:26 +0000)
commitc06d660aba34fc9c309af3204fe2cf2fa6619134
tree3016c5b02d7160c94edd04b06a96b860184d4904
parente191d76d248ebbb022533d518b447b7df4efd371
nat: correct pool ops when disable nat44 plugin

Type: fix

Replace vec ops with pool ops when iterating over pool of
interfaces in plugin_disable() functions.
With this change plugin disabling function and interface role
disabling functions iterate over identical sets of registered
interfaces, preventing 'interface couldn't be found' errors.

Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Change-Id: I4e191bcc5322ff1f9f7730c6fda5e6af86a8eec9
src/plugins/nat/nat44-ei/nat44_ei.c