diff options
author | Gaige B Paulsen <gaige@cluetrust.net> | 2024-11-18 07:33:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 12:33:49 +0000 |
commit | 37ba454f746ab6c4b05fef520ced523e2ad032cb (patch) | |
tree | b254416c0b5320fd091355e8c637d156b9443c35 /plugins | |
parent | 081729eb8c9d6084916937a3095a6c0b2ba97144 (diff) | |
download | vyos.vyos-37ba454f746ab6c4b05fef520ced523e2ad032cb.tar.gz vyos.vyos-37ba454f746ab6c4b05fef520ced523e2ad032cb.zip |
T6882: fix: firewall global-options (#359)
* T6882: fix: firewall global-options
Updated a couple of RST files due to pre-commit
* T6882: chore: update changelog
* T6882: chore: update changelog
* T6882: test: update tests to cover change
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py b/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py index 3f4da3ea..97386e99 100644 --- a/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py +++ b/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py @@ -111,7 +111,7 @@ class Firewall_globalFacts(object): rr_lst = [] v6_attr = findall( - r"^set firewall (?:ipv6-src-route|ipv6-receive-redirects) (\S+)", + r"^set firewall (?:global-options )(?:ipv6-src-route|ipv6-receive-redirects) (\S+)", conf, M, ) @@ -121,7 +121,7 @@ class Firewall_globalFacts(object): rr_lst.append(obj) v4_attr = findall( - r"^set firewall (?:ip-src-route|receive-redirects|send-redirects) (\S+)", + r"^set firewall (?:global-options )(?:ip-src-route|receive-redirects|send-redirects) (\S+)", conf, M, ) |