From c3f22aa8676b44d563ac63ec77cfa7a810fe49f6 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Fri, 31 Dec 2021 22:41:57 +0800 Subject: [PATCH] fix arginfo_get_next_local_ip parameter --- php-fastcommon/fastcommon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fastcommon/fastcommon.c b/php-fastcommon/fastcommon.c index f55709b..f64e85e 100644 --- a/php-fastcommon/fastcommon.c +++ b/php-fastcommon/fastcommon.c @@ -12,7 +12,6 @@ * You should have received a copy of the Lesser GNU General Public License * along with this program. If not, see . */ - #include "php7_ext_wrapper.h" #include "ext/standard/info.h" #include "ext/standard/file.h" @@ -119,7 +118,8 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_get_first_local_ip, 0, 0, 0) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_get_next_local_ip, 0, 0, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_get_next_local_ip, 0, 0, 1) +ZEND_ARG_INFO(0, previous_ip) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_is_private_ip, 0, 0, 1)