Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2017 06:49:53 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326616 - head/stand/libsa
Message-ID:  <201712060649.vB66nrIg052929@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712060649.vB66nrIg052929>