From 70f41d1d9cb03f76f73e7a6099bfc7ce0c2b2701 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 15 Jun 2018 12:55:21 +0200 Subject: [PATCH] Bump snmp extension version to PHP version This patch syncs the snmp extension to match it with the PHP release version. --- ext/snmp/php_snmp.h | 2 +- ext/snmp/snmp.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h index af5189dab3..9acae9dfc7 100644 --- a/ext/snmp/php_snmp.h +++ b/ext/snmp/php_snmp.h @@ -26,7 +26,7 @@ #ifndef PHP_SNMP_H #define PHP_SNMP_H -#define PHP_SNMP_VERSION "0.1" +#define PHP_SNMP_VERSION PHP_VERSION #if HAVE_SNMP diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index a424912a24..42cc69c685 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -2360,7 +2360,6 @@ PHP_MINFO_FUNCTION(snmp) php_info_print_table_start(); php_info_print_table_row(2, "NET-SNMP Support", "enabled"); php_info_print_table_row(2, "NET-SNMP Version", netsnmp_get_version()); - php_info_print_table_row(2, "PHP SNMP Version", PHP_SNMP_VERSION); php_info_print_table_end(); } /* }}} */ -- 2.40.0