2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Don't use the same OMAPI port as the server.

This commit is contained in:
Ted Lemon
2000-04-04 06:24:37 +00:00
parent 6c54d79859
commit 291c524f45

View File

@@ -41,7 +41,7 @@
#ifndef lint #ifndef lint
static char ocopyright[] = static char ocopyright[] =
"$Id: dhclient.c,v 1.99 2000/03/24 00:20:33 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; "$Id: dhclient.c,v 1.100 2000/04/04 06:24:37 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -359,7 +359,7 @@ int main (argc, argv, envp)
log_fatal ("Can't allocate new generic object: %s\n", log_fatal ("Can't allocate new generic object: %s\n",
isc_result_totext (result)); isc_result_totext (result));
result = omapi_protocol_listen (listener, result = omapi_protocol_listen (listener,
OMAPI_PROTOCOL_PORT, 1); OMAPI_PROTOCOL_PORT + 1, 1);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
log_fatal ("Can't start OMAPI protocol: %s", log_fatal ("Can't start OMAPI protocol: %s",
isc_result_totext (result)); isc_result_totext (result));