]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't use the same OMAPI port as the server.
authorTed Lemon <source@isc.org>
Tue, 4 Apr 2000 06:24:37 +0000 (06:24 +0000)
committerTed Lemon <source@isc.org>
Tue, 4 Apr 2000 06:24:37 +0000 (06:24 +0000)
client/dhclient.c

index 657c851fa098b1a9f5a49003d0804818c024b2b2..c4d254fcc024c964fc7e2c1b563eea9c74c07d9b 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 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 */
 
 #include "dhcpd.h"
@@ -359,7 +359,7 @@ int main (argc, argv, envp)
                log_fatal ("Can't allocate new generic object: %s\n",
                           isc_result_totext (result));
        result = omapi_protocol_listen (listener,
-                                       OMAPI_PROTOCOL_PORT, 1);
+                                       OMAPI_PROTOCOL_PORT + 1, 1);
        if (result != ISC_R_SUCCESS)
                log_fatal ("Can't start OMAPI protocol: %s",
                           isc_result_totext (result));