diff --git a/lib/ansible/modules/network/nxos/nxos_ospf_vrf.py b/lib/ansible/modules/network/nxos/nxos_ospf_vrf.py index 98aa9a0ad1..4d37442d4f 100644 --- a/lib/ansible/modules/network/nxos/nxos_ospf_vrf.py +++ b/lib/ansible/modules/network/nxos/nxos_ospf_vrf.py @@ -299,7 +299,7 @@ def state_present(module, existing, proposed, candidate): if len(value) < 5: command = '{0} {1} Mbps'.format(key, value) else: - value = str(int(value) / 1000) + value = str(int(value) // 1000) command = '{0} {1} Gbps'.format(key, value) elif key == 'bfd': command = 'no bfd' if value == 'disable' else 'bfd'