nzrdhcp: don't worry about whether there's a relay
This commit is contained in:
		
							parent
							
								
									459682d182
								
							
						
					
					
						commit
						1d97134839
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -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 { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue