Remove unnecessary mutable
This commit is contained in:
parent
a7ddc6227a
commit
c061b83d09
@ -58,7 +58,7 @@ async fn main() {
|
||||
let remote_addr = SocketAddrV6::new(All_DHCP_Relay_Agents_and_Servers.parse().unwrap(), DHCP_Relay_Agent_and_Server_port, 0, scope_id);
|
||||
|
||||
let mut msg = Message::new(MessageType::InformationRequest);
|
||||
let mut msg_opts = msg.opts_mut();
|
||||
let msg_opts = msg.opts_mut();
|
||||
//msg_opts.insert(DhcpOption::ClientId(Vec::from(duid)));
|
||||
msg_opts.insert(DhcpOption::ElapsedTime(0));
|
||||
msg_opts.insert(DhcpOption::ORO(ORO { opts: vec![
|
||||
|
Loading…
Reference in New Issue
Block a user