mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 23:05:29 +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 */
|
/* 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 {
|
||||||
|
Reference in New Issue
Block a user