summaryrefslogtreecommitdiff
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r--src/network/networkctl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 1c2cb7691a..6035a7728a 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -2226,6 +2226,16 @@ static int link_status_one(
return table_log_add_error(r);
}
+ r = sd_network_link_get_required_for_online(info->ifindex);
+ if (r >= 0) {
+ r = table_add_many(table,
+ TABLE_EMPTY,
+ TABLE_STRING, "Required For Online:",
+ TABLE_BOOLEAN, r);
+ if (r < 0)
+ return table_log_add_error(r);
+ }
+
if (lease) {
const void *client_id;
size_t client_id_len;