com php-src: Bump snmp extension version to PHP version: ext/snmp/php_snmp.h ext/snmp/snmp.c
| From: | Stanislav Malyshev | Date: | Fri, 15 Jun 2018 10:55:21 +0000 |
| Subject: | com php-src: Bump snmp extension version to PHP version: ext/snmp/php_snmp.h ext/snmp/snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102174@lists.php.net to get a copy of this message | ||
Commit: 70f41d1d9cb03f76f73e7a6099bfc7ce0c2b2701
Author: Peter Kokot <peterkokot@gmail.com> Fri, 15 Jun 2018 12:55:21 +0200
Parents: 35872c0960913dfdbf02ee5c1157227502701ff0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=70f41d1d9cb03f76f73e7a6099bfc7ce0c2b2701
Log:
Bump snmp extension version to PHP version
This patch syncs the snmp extension to match it with the PHP release
version.
Changed paths:
M ext/snmp/php_snmp.h
M ext/snmp/snmp.c
Diff:
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h
index af5189d..9acae9d 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 a424912..42cc69c 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();
}
/* }}} */