Remove dhcpd.h.

This commit is contained in:
Nicholas J. Kain
2011-03-30 05:55:12 -04:00
parent ef9d9d26df
commit 13d9119f3a
10 changed files with 50 additions and 82 deletions

View File

@ -17,7 +17,6 @@
#include "sys.h"
#include "log.h"
#include "io.h"
#include "dhcpd.h"
#include "options.h"
/* Read a packet from socket fd, return -1 on read error, -2 on packet error */
@ -187,7 +186,7 @@ void change_listen_mode(struct client_state_t *cs, int new_mode)
cs->listenFd = -1;
}
if (new_mode == LM_KERNEL) {
cs->listenFd = listen_socket(INADDR_ANY, CLIENT_PORT,
cs->listenFd = listen_socket(INADDR_ANY, DHCP_CLIENT_PORT,
client_config.interface);
epoll_add(cs, cs->listenFd);
}