nmcli: set hairpin to str to bool (#45908)

Fix: nmcli module always sets hairpin mode to 1 for bridge slaves.

Closes #42569

Signed-off-by: Susant Sahani<susant@redhat.com>
pull/46262/head
Susant Sahani 6 years ago committed by Abhijeet Kasurde
parent 4c929d3a7a
commit aedcf9fed7

@ -1195,7 +1195,7 @@ def main():
hellotime=dict(required=False, default="2", type='str'),
maxage=dict(required=False, default="20", type='str'),
ageingtime=dict(required=False, default="300", type='str'),
hairpin=dict(required=False, default=True, type='str'),
hairpin=dict(required=False, default=True, type='bool'),
path_cost=dict(required=False, default="100", type='str'),
# vlan specific vars
vlanid=dict(required=False, default=None, type='str'),

Loading…
Cancel
Save