1
0
Fork 0
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:
Markus Juenemann 2018-05-30 10:10:19 +10:00 committed by René Moser
parent 7d2c71462d
commit 46e03ec866

View file

@ -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: