mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in if statement in snmp_facts module. (#39578)
This commit is contained in:
parent
7d2c71462d
commit
46e03ec866
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ def main():
|
|||
if v.ifMtu in current_oid:
|
||||
ifIndex = int(current_oid.rsplit('.', 1)[-1])
|
||||
results['ansible_interfaces'][ifIndex]['mtu'] = current_val
|
||||
if v.ifMtu in current_oid:
|
||||
if v.ifSpeed in current_oid:
|
||||
ifIndex = int(current_oid.rsplit('.', 1)[-1])
|
||||
results['ansible_interfaces'][ifIndex]['speed'] = current_val
|
||||
if v.ifPhysAddress in current_oid:
|
||||
|
|
Loading…
Reference in a new issue