Change-Id: I265952ac7adfd829c1e4ff46639e4b6afc097583
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
send_packet(1);
break;
}
+ get_reqparam(&gstate.rqopt);
optptr = set_optval(optptr, DHCP_OPT_MESSAGE_TYPE, &msgtype, 1);
optptr = set_optval(optptr, DHCP_OPT_SERVER_ID, &gconfig.server_nip, 4);
reqested_lease = htonl(reqested_lease);
optptr = set_optval(optptr, DHCP_OPT_LEASE_TIME, &reqested_lease, 4);
+ optptr = set_reqparam(optptr, gstate.rqopt);
send_packet(1);
write_leasefile();
break;