summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-06-15 12:55:21 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-06-15 12:55:21 +0200
commit70f41d1d9cb03f76f73e7a6099bfc7ce0c2b2701 (patch)
tree4969d069fff596279b4c1353cce25fac7f79028e
parent35872c0960913dfdbf02ee5c1157227502701ff0 (diff)
downloadphp-git-70f41d1d9cb03f76f73e7a6099bfc7ce0c2b2701.tar.gz
Bump snmp extension version to PHP version
This patch syncs the snmp extension to match it with the PHP release version.
-rw-r--r--ext/snmp/php_snmp.h2
-rw-r--r--ext/snmp/snmp.c1
2 files changed, 1 insertions, 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();
}
/* }}} */