lib/vfs/lxip: allow missing nameserver configuration

Ref #2535
This commit is contained in:
Emery Hemingway 2017-10-09 12:50:47 -05:00 committed by Christian Helmuth
parent 88a3fda36a
commit 6aba4871a7

View File

@ -1378,9 +1378,6 @@ class Vfs::Lxip_file_system : public Vfs::File_system,
} else if (gateway == "") {
warning("Missing \"gateway\" attribute. Ignoring network interface config.");
throw Genode::Xml_node::Nonexistent_attribute();
} else if (nameserver == "") {
warning("Missing \"nameserver\" attribute. Ignoring network interface config.");
throw Genode::Xml_node::Nonexistent_attribute();
}
log("static network interface: ip_addr=",ip_addr," netmask=",netmask," gateway=",gateway);