diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-19 19:50:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-21 20:40:57 +0100 |
commit | 837f57da416be279ef5793e43b34e41247aa90a2 (patch) | |
tree | 14a4f08c47dffe341b9355968160b116c66ad8df /src/hostname/hostnamectl.c | |
parent | 691d4da98a1288d75ea62e470280684d075e9725 (diff) |
networkctl: extend "networkctl status" per-interface output to include LLDP info
This adds a small and useful field to the "systemctl status" output: the
router(s) the interface is connected to as reported via LLDP. Example output:
● 2: enp0s25
Link File: /usr/lib/systemd/network/99-default.link
Type: ether
State: degraded (configured)
Path: pci-0000:00:19.0
Driver: e1000e
Connected To: GS1900 on port 2 (foobar)
i.e. the last line is the relevant one.
Diffstat (limited to 'src/hostname/hostnamectl.c')
0 files changed, 0 insertions, 0 deletions