You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "shreemaan-abhishek (via GitHub)" <gi...@apache.org> on 2023/04/28 04:47:30 UTC
[GitHub] [apisix] shreemaan-abhishek commented on a diff in pull request #9386: chore: clarify the support for IPV6
shreemaan-abhishek commented on code in PR #9386:
URL: https://github.com/apache/apisix/pull/9386#discussion_r1179923666
##########
t/admin/stream-routes.t:
##########
@@ -607,3 +607,47 @@ GET /t
{"error_msg":"unknown protocol [xxx]"}
passed
{"error_msg":"property \"faults\" validation failed: wrong type: expected array, got string"}
+
+
+
+=== TEST 17: set route with remote_addr and server_addr in IPV6
+--- config
+ location /t {
+ content_by_lua_block {
+ local t = require("lib.test_admin").test
+ local code, body = t('/apisix/admin/stream_routes/1',
+ ngx.HTTP_PUT,
+ [[{
+ "remote_addr": "::ffff:7f00:1",
Review Comment:
Oh, I did not know that a simpler notation existed.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org