diff options
author | Alexander Skorichenko <askorichenko@netgate.com> | 2021-07-02 13:10:52 -0400 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2021-08-12 16:26:03 +0000 |
commit | c06d660aba34fc9c309af3204fe2cf2fa6619134 (patch) | |
tree | 3016c5b02d7160c94edd04b06a96b860184d4904 /src/plugins/cnat/cnat_translation.c | |
parent | e191d76d248ebbb022533d518b447b7df4efd371 (diff) |
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
Diffstat (limited to 'src/plugins/cnat/cnat_translation.c')
0 files changed, 0 insertions, 0 deletions