This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 5670e4a2ee6d66b8e59f49fa98519051762b7aaf Author: Bryan Call <bc...@apache.org> AuthorDate: Sun Jun 14 07:32:27 2020 -0700 Revert "Fix for Ubuntu 16 and Clang 5" This reverts commit 16fc6edeb552fb33913dd40825bc02b067fff0e2. --- src/tscore/ink_res_init.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tscore/ink_res_init.cc b/src/tscore/ink_res_init.cc index 18bea6e..be4dccc 100644 --- a/src/tscore/ink_res_init.cc +++ b/src/tscore/ink_res_init.cc @@ -93,8 +93,7 @@ #define isascii(c) (!(c & 0200)) #endif -HostResPreferenceOrder const HOST_RES_DEFAULT_PREFERENCE_ORDER = { - {HOST_RES_PREFER_IPV4, HOST_RES_PREFER_IPV6, HOST_RES_PREFER_NONE}}; +HostResPreferenceOrder const HOST_RES_DEFAULT_PREFERENCE_ORDER = {HOST_RES_PREFER_IPV4, HOST_RES_PREFER_IPV6, HOST_RES_PREFER_NONE}; HostResPreferenceOrder host_res_default_preference_order;