mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
local and remote port numbers in dhcpv4 were both set to 67; fixed. [rt18172]
This commit is contained in:
@@ -410,10 +410,10 @@ main(int argc, char **argv) {
|
||||
|
||||
/* Set default port */
|
||||
if (local_family == AF_INET) {
|
||||
service_local = "dhcps";
|
||||
service_remote = "dhcps";
|
||||
service_local = "bootps";
|
||||
service_remote = "bootpc";
|
||||
port_local = htons(67);
|
||||
port_remote = htons(67);
|
||||
port_remote = htons(68);
|
||||
}
|
||||
#ifdef DHCPv6
|
||||
else {
|
||||
|
Reference in New Issue
Block a user