chiark / gitweb /
networkctl: print the Gateway in the status output
authorTom Gundersen <teg@jklm.no>
Tue, 2 Dec 2014 00:05:52 +0000 (01:05 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 2 Dec 2014 09:46:22 +0000 (10:46 +0100)
commitc09da72900b03fcddade06643f24c6357f3e0482
tree20c1ec65c85ede52d1107752dad14cd663aa5c96
parent722f7cc95cdc0532f3226aae796ef446d2eea722
networkctl: print the Gateway in the status output

This is the IP address of the default route on the link, if present. A
description is printed when available (the manufacturer of the gateway NIC based
on its MAC address).

In the future we should prefer LLDP information over MAC info.
src/network/networkctl.c