diff --git a/nzrdhcp/src/main.rs b/nzrdhcp/src/main.rs index e200cd1..1e96928 100644 --- a/nzrdhcp/src/main.rs +++ b/nzrdhcp/src/main.rs @@ -125,11 +125,7 @@ async fn handle_message(ctx: &Context, from: SocketAddr, msg: &Message) { { let opts = response.opts_mut(); - let giaddr = if msg.giaddr().is_unspecified() { - todo!("no relay??") - } else { - msg.giaddr() - }; + let giaddr = msg.giaddr(); opts.insert(DhcpOption::ServerIdentifier(giaddr)); if let Some(time) = lease_time {