Modify ip source output in view
Match the same ordering of provider and method between the main network view and the manual configuration views. Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
This commit is contained in:
parent
1788d89557
commit
fe7faaa038
|
@ -52,8 +52,8 @@ class NetworkConfigureInterfaceView(ViewPolicy):
|
||||||
header = ("Will use DHCP for IPv4:")
|
header = ("Will use DHCP for IPv4:")
|
||||||
else:
|
else:
|
||||||
header = ("Will use static for IPv4:")
|
header = ("Will use static for IPv4:")
|
||||||
gw_info = (str(ip) + (" offered by ") + method +
|
gw_info = (str(ip) + (" provided by ") + method +
|
||||||
(" server ") + provider)
|
(" from ") + provider)
|
||||||
|
|
||||||
p = [Text(header)]
|
p = [Text(header)]
|
||||||
if gw_info:
|
if gw_info:
|
||||||
|
|
Loading…
Reference in New Issue