mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
parent
3f1870841c
commit
3a616fed4d
@ -49,7 +49,7 @@ void Domain::_log_ip_config() const
|
||||
}
|
||||
|
||||
|
||||
bool Domain::is_ready() const
|
||||
bool Domain::ready() const
|
||||
{
|
||||
if (_dhcp_server.valid()) {
|
||||
if (_dhcp_server().has_invalid_remote_dns_cfg()) {
|
||||
@ -62,9 +62,9 @@ bool Domain::is_ready() const
|
||||
|
||||
void Domain::update_ready_state()
|
||||
{
|
||||
bool const ready { is_ready() };
|
||||
bool const rdy { ready() };
|
||||
_interfaces.for_each([&] (Interface &interface) {
|
||||
interface.handle_domain_ready_state(ready);
|
||||
interface.handle_domain_ready_state(rdy);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -223,7 +223,7 @@ class Net::Domain : public Domain_base,
|
||||
|
||||
void add_dropped_fragm_ipv4(unsigned long dropped_fragm_ipv4);
|
||||
|
||||
bool is_ready() const;
|
||||
bool ready() const;
|
||||
|
||||
void update_ready_state();
|
||||
|
||||
|
@ -461,7 +461,7 @@ void Interface::handle_domain_ready_state(bool state)
|
||||
void Interface::_refetch_domain_ready_state()
|
||||
{
|
||||
if (_domain.valid()) {
|
||||
handle_domain_ready_state(_domain().is_ready());
|
||||
handle_domain_ready_state(_domain().ready());
|
||||
} else {
|
||||
handle_domain_ready_state(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user