dhcp_try_rfc1048() is not used any more
Remove unused function. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D13382
This commit is contained in:
parent
cb37fc82b1
commit
78fdf7f396
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326616
@ -355,17 +355,6 @@ bootprecv(struct iodesc *d, void **pkt, void **payload, time_t tleft)
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
dhcp_try_rfc1048(u_char *cp, u_int len)
|
|
||||||
{
|
|
||||||
|
|
||||||
expected_dhcpmsgtype = DHCPACK;
|
|
||||||
if (bcmp(vm_rfc1048, cp, sizeof(vm_rfc1048)) == 0) {
|
|
||||||
return (vend_rfc1048(cp, len));
|
|
||||||
}
|
|
||||||
return (-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
vend_rfc1048(u_char *cp, u_int len)
|
vend_rfc1048(u_char *cp, u_int len)
|
||||||
{
|
{
|
||||||
|
@ -146,6 +146,4 @@ struct cmu_vend {
|
|||||||
extern struct bootp *bootp_response;
|
extern struct bootp *bootp_response;
|
||||||
extern size_t bootp_response_size;
|
extern size_t bootp_response_size;
|
||||||
|
|
||||||
int dhcp_try_rfc1048(u_char *cp, u_int len);
|
|
||||||
|
|
||||||
#endif /* _BOOTP_H_ */
|
#endif /* _BOOTP_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user