Skip to content

Commit 70f41d1

Browse files
committed
Bump snmp extension version to PHP version
This patch syncs the snmp extension to match it with the PHP release version.
1 parent 35872c0 commit 70f41d1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ext/snmp/php_snmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#ifndef PHP_SNMP_H
2727
#define PHP_SNMP_H
2828

29-
#define PHP_SNMP_VERSION "0.1"
29+
#define PHP_SNMP_VERSION PHP_VERSION
3030

3131
#if HAVE_SNMP
3232

ext/snmp/snmp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2360,7 +2360,6 @@ PHP_MINFO_FUNCTION(snmp)
23602360
php_info_print_table_start();
23612361
php_info_print_table_row(2, "NET-SNMP Support", "enabled");
23622362
php_info_print_table_row(2, "NET-SNMP Version", netsnmp_get_version());
2363-
php_info_print_table_row(2, "PHP SNMP Version", PHP_SNMP_VERSION);
23642363
php_info_print_table_end();
23652364
}
23662365
/* }}} */

0 commit comments

Comments
 (0)