mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 09:54:02 -07: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:
parent
26b0908270
commit
70e33ef92c
3 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue