spacewander commented on code in PR #6988: URL: https://github.com/apache/apisix/pull/6988#discussion_r872190628
########## apisix/plugins/real-ip.lua: ########## @@ -67,6 +75,22 @@ function _M.check_schema(conf) end +local function addr_match(conf, ctx, addr) + if not conf.trusted_addresses then Review Comment: We already check the trusted_addresses before: https://github.com/apache/apisix/blob/025710564ac717f99fb96dd19dc1fdd1344bc7ef/apisix/plugins/real-ip.lua#L107? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
