]> granicus.if.org Git - php/commitdiff
more info for phpinfo()
authorColin Viebrock <cmv@php.net>
Wed, 30 Aug 2000 15:52:07 +0000 (15:52 +0000)
committerColin Viebrock <cmv@php.net>
Wed, 30 Aug 2000 15:52:07 +0000 (15:52 +0000)
ext/snmp/snmp.c

index 8036201a810b56aedddb525d1cdddc1ad3385e59..d59495424d1ffcbfdc904b79680fb1e48548ef52 100644 (file)
@@ -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();
 }