diff options
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r-- | src/network/networkctl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 33fe8bfc61..bf95aa2c90 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -366,6 +366,13 @@ static int link_status_one(sd_rtnl *rtnl, struct udev *udev, const char *name) { sd_network_link_get_dns(ifindex, &dns); sd_network_link_get_ntp(ifindex, &ntp); sd_network_link_get_domains(ifindex, &domains); + r = sd_network_link_get_wildcard_domain(ifindex); + if (r > 0) { + char *wildcard; + + wildcard = strdup("*"); + strv_push(&domains, wildcard); + } sprintf(devid, "n%i", ifindex); d = udev_device_new_from_device_id(udev, devid); |