Fix gw4/gw6 typo (#1841)

This commit is contained in:
Orion Poplawski 2016-05-20 06:46:52 -06:00 committed by Matt Clay
parent 393ea3293c
commit 70384d72e6

View file

@ -625,7 +625,7 @@ class Nmcli(object):
cmd.append(self.ip6) cmd.append(self.ip6)
if self.gw6 is not None: if self.gw6 is not None:
cmd.append('ipv6.gateway') cmd.append('ipv6.gateway')
cmd.append(self.gw4) cmd.append(self.gw6)
if self.dns6 is not None: if self.dns6 is not None:
cmd.append('ipv6.dns') cmd.append('ipv6.dns')
cmd.append(self.dns6) cmd.append(self.dns6)
@ -745,7 +745,7 @@ class Nmcli(object):
cmd.append(self.ip6) cmd.append(self.ip6)
if self.gw6 is not None: if self.gw6 is not None:
cmd.append('ipv6.gateway') cmd.append('ipv6.gateway')
cmd.append(self.gw4) cmd.append(self.gw6)
if self.dns6 is not None: if self.dns6 is not None:
cmd.append('ipv6.dns') cmd.append('ipv6.dns')
cmd.append(self.dns6) cmd.append(self.dns6)
@ -846,7 +846,7 @@ class Nmcli(object):
cmd.append(self.ip6) cmd.append(self.ip6)
if self.gw6 is not None: if self.gw6 is not None:
cmd.append('ipv6.gateway') cmd.append('ipv6.gateway')
cmd.append(self.gw4) cmd.append(self.gw6)
if self.dns6 is not None: if self.dns6 is not None:
cmd.append('ipv6.dns') cmd.append('ipv6.dns')
cmd.append(self.dns6) cmd.append(self.dns6)