增加IP Plugin的性能测试用例。

This commit is contained in:
zhengchao
2021-07-14 21:52:26 +08:00
parent 6d5a42fb4a
commit 0b6e982fdc

View File

@@ -663,7 +663,7 @@ static void* ip_plugin_get_thread(void* arg)
struct perf_ip_plugin_ud* result[4]; struct perf_ip_plugin_ud* result[4];
struct ip_address ip; struct ip_address ip;
ip.ip_type=4; ip.ip_type=4;
inet_pton(AF_INET, "191.70.72.1", &(ip.ipv4)); inet_pton(AF_INET, "8.8.8.8", &(ip.ipv4));
for(i=0; i<test_times; i++) for(i=0; i<test_times; i++)
{ {