static struct timeval tv_timeout;
static int sockfd;
-#define ETH_ADDR_LEN 6
-
#ifdef HAVE_LIBPCAP
static fr_pcap_t *pcap;
#endif
#endif
static bool raw_mode = false;
-
static bool reply_expected = true;
-#define DHCP_CHADDR_LEN (16)
-#define DHCP_SNAME_LEN (64)
-#define DHCP_FILE_LEN (128)
-
static char const *dhcpclient_version = RADIUSD_VERSION_STRING_BUILD("dhcpclient");
/* structure to keep track of offered IP addresses */
* The server will then take care of ensuring that the module
* is single-threaded.
*/
-extern rad_module_t rlm_dhcp;
+extern rad_module_t rlm_dhcpv4;
rad_module_t rlm_dhcpv4 = {
.magic = RLM_MODULE_INIT,
.name = "dhcpv4",