2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-02 15:25:48 +00:00

local and remote port numbers in dhcpv4 were both set to 67; fixed. [rt18172]

This commit is contained in:
Evan Hunt
2008-07-16 16:29:14 +00:00
parent d352732ea7
commit 9733358a3e

View File

@@ -410,10 +410,10 @@ main(int argc, char **argv) {
/* Set default port */ /* Set default port */
if (local_family == AF_INET) { if (local_family == AF_INET) {
service_local = "dhcps"; service_local = "bootps";
service_remote = "dhcps"; service_remote = "bootpc";
port_local = htons(67); port_local = htons(67);
port_remote = htons(67); port_remote = htons(68);
} }
#ifdef DHCPv6 #ifdef DHCPv6
else { else {