Commit 5972877e authored by Jeremy Soller's avatar Jeremy Soller

Add empty remote path to lookup_host

parent 9203ead8
......@@ -54,7 +54,7 @@ fn lookup_host(host: &str) -> Result<LookupHost> {
let packet_data = packet.compile();
let fd = ::RawFile::open(format!("udp:{}.{}.{}.{}:0",
let fd = ::RawFile::open(format!("udp:/{}.{}.{}.{}:0",
ip[0], ip[1], ip[2], ip[3]).as_bytes(),
syscall::O_RDWR)?;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment