فهرست منبع

Bug fix (missing var)

Ethan Galstad 23 سال پیش
والد
کامیت
1ac31e437b
7فایلهای تغییر یافته به همراه18 افزوده شده و 15 حذف شده
  1. 2 2
      common/common.h
  2. 2 2
      configure
  3. 2 2
      configure.in
  4. 1 1
      nrpe.spec
  5. 1 1
      src/check_nrpe.c
  6. 6 6
      src/dh.h
  7. 4 1
      src/nrpe.c

+ 2 - 2
common/common.h

@@ -23,8 +23,8 @@
 
 #include "config.h"
 
-#define PROGRAM_VERSION "2.0b2"
-#define MODIFICATION_DATE "04-15-2003"
+#define PROGRAM_VERSION "2.0b3"
+#define MODIFICATION_DATE "04-17-2003"
 
 #define OK		0
 #define ERROR		-1

+ 2 - 2
configure

@@ -535,9 +535,9 @@ fi
 
 
 PKG_NAME=nrpe
-PKG_VERSION="2.0b2"
+PKG_VERSION="2.0b3"
 PKG_HOME_URL="http://www.nagios.org/"
-PKG_REL_DATE="04-15-2003"
+PKG_REL_DATE="04-17-2003"
 
 
 ac_aux_dir=

+ 2 - 2
configure.in

@@ -9,9 +9,9 @@ AC_CONFIG_HEADER(common/config.h)
 AC_PREFIX_DEFAULT(/usr/local/nagios)
 
 PKG_NAME=nrpe
-PKG_VERSION="2.0b2"
+PKG_VERSION="2.0b3"
 PKG_HOME_URL="http://www.nagios.org/"
-PKG_REL_DATE="04-15-2003"
+PKG_REL_DATE="04-17-2003"
 
 dnl Figure out how to invoke "install" and what install options to use.
 

+ 1 - 1
nrpe.spec

@@ -1,5 +1,5 @@
 %define name nrpe
-%define version 2.0b2
+%define version 2.0b3
 %define release 1
 %define nsusr nagios
 %define nsgrp nagios

+ 1 - 1
src/check_nrpe.c

@@ -4,7 +4,7 @@
  * Copyright (c) 1999-2003 Ethan Galstad (nagios@nagios.org)
  * License: GPL
  *
- * Last Modified: 04-15-2003
+ * Last Modified: 04-17-2003
  *
  * Command line: CHECK_NRPE -H <host_address> [-p port] [-c command] [-to to_sec]
  *

+ 6 - 6
src/dh.h

@@ -4,12 +4,12 @@
 DH *get_dh512()
 	{
 	static unsigned char dh512_p[]={
-		0xFC,0xAF,0x5F,0xF7,0xB2,0xE7,0x1B,0xD6,0x93,0x85,0x86,0x47,
-		0x3D,0xE9,0x04,0x74,0x05,0x81,0xF8,0xC1,0x0D,0xA3,0xA1,0xAD,
-		0x84,0xD0,0x14,0xAE,0x56,0xD2,0x0E,0xF2,0xCD,0x8C,0x92,0x09,
-		0xDE,0xB4,0x4D,0x5F,0xA1,0x17,0x09,0xF4,0x75,0x4E,0xBA,0xE9,
-		0x30,0x3B,0x79,0xDA,0x79,0x7E,0x2E,0xE6,0x2D,0x95,0x48,0x74,
-		0x04,0xDE,0x53,0x3B,
+		0xCF,0xFF,0x65,0xC2,0xC8,0xB4,0xD2,0x68,0x8C,0xC1,0x80,0xB1,
+		0x7B,0xD6,0xE8,0xB3,0x62,0x59,0x62,0xED,0xA7,0x45,0x6A,0xF8,
+		0xE9,0xD8,0xBE,0x3F,0x38,0x42,0x5F,0xB2,0xA5,0x36,0x03,0xD3,
+		0x06,0x27,0x81,0xC8,0x9B,0x88,0x50,0x3B,0x82,0x3D,0x31,0x45,
+		0x2C,0xB4,0xC5,0xA5,0xBE,0x6A,0xE3,0x2E,0xA6,0x86,0xFD,0x6A,
+		0x7E,0x1E,0x6A,0x73,
 		};
 	static unsigned char dh512_g[]={
 		0x02,

+ 4 - 1
src/nrpe.c

@@ -4,7 +4,7 @@
  * Copyright (c) 1999-2003 Ethan Galstad (nagios@nagios.org)
  * License: GPL
  *
- * Last Modified: 04-15-2003
+ * Last Modified: 04-17-2003
  *
  * Command line: nrpe -c <config_file> [--inetd | --daemon]
  *
@@ -1259,6 +1259,9 @@ int validate_request(packet *pkt){
         u_int32_t packet_crc32;
         u_int32_t calculated_crc32;
 	char *ptr;
+#ifdef ENABLE_COMMAND_ARGUMENTS
+	int x;
+#endif
 
 
 	/***** DECRYPT REQUEST ******/