mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Make ios_vlan identify vlans starting with 9 (#42247)
* Make ios_vlan identify vlans starting with 9 * Add unit test for vlan id start with 9
This commit is contained in:
@@ -218,7 +218,7 @@ def parse_to_logical_rows(out):
|
||||
if not l:
|
||||
"""Skip empty lines."""
|
||||
continue
|
||||
if '0' < l[0] < '9':
|
||||
if '0' < l[0] <= '9':
|
||||
"""Line starting with a number."""
|
||||
if started_yielding:
|
||||
yield cur_row
|
||||
|
||||
Reference in New Issue
Block a user