harrie Mon Jun 23 14:16:37 2003 EDT
Modified files:
/php4/ext/snmp snmp.c
Log:
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.78 php4/ext/snmp/snmp.c:1.79
--- php4/ext/snmp/snmp.c:1.78 Mon Jun 23 14:02:03 2003
+++ php4/ext/snmp/snmp.c Mon Jun 23 14:16:37 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.78 2003/06/23 18:02:03 harrie Exp $ */
+/* $Id: snmp.c,v 1.79 2003/06/23 18:16:37 harrie Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -102,12 +102,6 @@
/* For really old ucd-snmp versions.. */
#ifndef HAVE_SNMP_PARSE_OID
#define snmp_parse_oid read_objid
-#endif
-
-/* ucd-snmp 3.3.1 changed the name of a few #defines... They've been changed back to
the original ones in 3.5.3! */
-#ifndef SNMP_MSG_GET
-#define SNMP_MSG_GET GET_REQ_MSG
-#define SNMP_MSG_GETNEXT GETNEXT_REQ_MSG
#endif
#define SNMP_VALUE_LIBRARY 0
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php