summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-08-30 15:52:07 +0000
committerColin Viebrock <cmv@php.net>2000-08-30 15:52:07 +0000
commit9d62ac18ce2b072d96e2ff42636787800c67591f (patch)
treea5da271feb1cc9a92809b358e3d03d41b29ed5c2
parent461f50d50dae4b14495d9579436890493551e547 (diff)
downloadphp-git-9d62ac18ce2b072d96e2ff42636787800c67591f.tar.gz
more info for phpinfo()
-rw-r--r--ext/snmp/snmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 8036201a81..d59495424d 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -62,6 +62,7 @@
#include "snmp.h"
#include "parse.h"
#include "mib.h"
+#include "version.h"
/* 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
@@ -112,6 +113,7 @@ PHP_MINFO_FUNCTION(snmp)
{
php_info_print_table_start();
php_info_print_table_row(2, "UCD-SNMP Support", "enabled");
+ php_info_print_table_row(2, "UCD-SNMP Version", VersionInfo);
php_info_print_table_end();
}