diff options
Diffstat (limited to 'ext/snmp/snmp.c')
| -rw-r--r-- | ext/snmp/snmp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 4368819810..5bcc552a9a 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -20,6 +20,7 @@ /* $Id$ */ #include "php.h" +#include "ext/standard/info.h" #if defined(COMPILE_DL) #include "dl/phpdl.h" #endif @@ -105,7 +106,9 @@ PHP_MINIT_FUNCTION(snmp) PHP_MINFO_FUNCTION(snmp) { - php_printf("ucd-snmp"); + php_info_print_table_start(); + php_info_print_table_row(2, "UCD-SNMP Support", "enabled"); + php_info_print_table_end(); } @@ -381,4 +384,4 @@ PHP_FUNCTION(snmpset) { * tab-width: 4 * c-basic-offset: 4 * End: -*/
\ No newline at end of file +*/ |
