GNOME Bugzilla – Bug 739958
[review] nmcli: show gateway as a separate item in active connection data
Last modified: 2014-11-11 16:32:39 UTC
Gateway is a separate item in IP configuration. So move it out of addresses in active connection data. Example: $ nmcli -f active con show my-active-eth0 Branch: jk/nmcli-gateway
When printing non-active connections, we print ADDRESSES, GATEWAY, ROUTES, while for active connections, you did it as ADDRESSES, ROUTES, GATEWAY. We should be consistent. Also, the code is still setting "gw" as part of filling in addr_arr, even though it logically doesn't belong there any more.
Fixed and re-pushed.
LGTM
142dbf2 cli: show gateway as a separate item in active connection data (bgo #739958)