From 291c524f45d7a53f53aacc4a9c5bac02572f0721 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 4 Apr 2000 06:24:37 +0000 Subject: [PATCH] Don't use the same OMAPI port as the server. --- client/dhclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dhclient.c b/client/dhclient.c index 657c851f..c4d254fc 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -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));