From 70384d72e6482df9cc01a565d830394d789b5ecb Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 20 May 2016 06:46:52 -0600 Subject: [PATCH] Fix gw4/gw6 typo (#1841) --- lib/ansible/modules/extras/network/nmcli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/network/nmcli.py b/lib/ansible/modules/extras/network/nmcli.py index bfdd1caf76..2c553425e9 100644 --- a/lib/ansible/modules/extras/network/nmcli.py +++ b/lib/ansible/modules/extras/network/nmcli.py @@ -625,7 +625,7 @@ class Nmcli(object): cmd.append(self.ip6) if self.gw6 is not None: cmd.append('ipv6.gateway') - cmd.append(self.gw4) + cmd.append(self.gw6) if self.dns6 is not None: cmd.append('ipv6.dns') cmd.append(self.dns6) @@ -745,7 +745,7 @@ class Nmcli(object): cmd.append(self.ip6) if self.gw6 is not None: cmd.append('ipv6.gateway') - cmd.append(self.gw4) + cmd.append(self.gw6) if self.dns6 is not None: cmd.append('ipv6.dns') cmd.append(self.dns6) @@ -846,7 +846,7 @@ class Nmcli(object): cmd.append(self.ip6) if self.gw6 is not None: cmd.append('ipv6.gateway') - cmd.append(self.gw4) + cmd.append(self.gw6) if self.dns6 is not None: cmd.append('ipv6.dns') cmd.append(self.dns6)