svn commit: r326616 - head/stand/libsa

Toomas Soome tsoome at FreeBSD.org
Wed Dec 6 06:49:55 UTC 2017


Author: tsoome
Date: Wed Dec  6 06:49:53 2017
New Revision: 326616
URL: https://svnweb.freebsd.org/changeset/base/326616

Log:
  dhcp_try_rfc1048() is not used any more
  
  Remove unused function.
  
  Reviewed by:	imp
  Differential Revision:	https://reviews.freebsd.org/D13382

Modified:
  head/stand/libsa/bootp.c
  head/stand/libsa/bootp.h

Modified: head/stand/libsa/bootp.c
==============================================================================
--- head/stand/libsa/bootp.c	Wed Dec  6 05:18:52 2017	(r326615)
+++ head/stand/libsa/bootp.c	Wed Dec  6 06:49:53 2017	(r326616)
@@ -355,17 +355,6 @@ bad:
 	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
 vend_rfc1048(u_char *cp, u_int len)
 {

Modified: head/stand/libsa/bootp.h
==============================================================================
--- head/stand/libsa/bootp.h	Wed Dec  6 05:18:52 2017	(r326615)
+++ head/stand/libsa/bootp.h	Wed Dec  6 06:49:53 2017	(r326616)
@@ -146,6 +146,4 @@ struct cmu_vend {
 extern struct bootp *bootp_response;
 extern size_t bootp_response_size;
 
-int	dhcp_try_rfc1048(u_char *cp, u_int len);
-
 #endif /* _BOOTP_H_ */


More information about the svn-src-head mailing list