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:
Ryan Harper 2015-11-06 10:03:46 -06:00
parent 1788d89557
commit fe7faaa038
1 changed files with 2 additions and 2 deletions

View File

@ -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: