Skip to content

Commit

Permalink
Fix IPv6 address 'from-pool' default value (#270)
Browse files Browse the repository at this point in the history
* Fix ipv6 address 'from-pool' default value

* Add changelog fragment for #270
  • Loading branch information
samburney authored Apr 17, 2024
1 parent 506b3eb commit 99581a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/270_fix_ipv6_from_pool_default_value.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add default value for ``from-pool`` field in ``/ipv6 address`` (https://github.com/ansible-collections/community.routeros/pull/270).
2 changes: 1 addition & 1 deletion plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ def join_path(path):
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'eui-64': KeyInfo(default=False),
'from-pool': KeyInfo(),
'from-pool': KeyInfo(default=''),
'interface': KeyInfo(required=True),
'no-dad': KeyInfo(default=False),
},
Expand Down

0 comments on commit 99581a0

Please sign in to comment.