mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-14 13:18:19 +00:00
nic_router: report DNS server
This commit is contained in:
committed by
Christian Helmuth
parent
3cac7e878d
commit
22a69efafa
@ -362,6 +362,7 @@ void Domain::report(Xml_generator &xml)
|
|||||||
if (config) {
|
if (config) {
|
||||||
xml.attribute("ipv4", String<19>(ip_config().interface));
|
xml.attribute("ipv4", String<19>(ip_config().interface));
|
||||||
xml.attribute("gw", String<16>(ip_config().gateway));
|
xml.attribute("gw", String<16>(ip_config().gateway));
|
||||||
|
xml.attribute("dns", String<16>(ip_config().dns_server));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user