use golang net lib to parse google json param [ecs]#84
use golang net lib to parse google json param [ecs]#84sanyo0714 wants to merge 1 commit intom13253:masterfrom
Conversation
|
Thank you for your contribution! I remember I once used net.ParseCIDR for this, but later I rewrote it without net.ParseCIDR. Perhaps the problem which prevented me from using net.ParseCIDR has already been fixed by Golang. Thank you again! |
|
test for net.ParseCIDR The results of |
|
The test fails with IPv4-mapped-IPv6 addresses:
|
The result of msg.Pack() is ok~ |
A recent pull does not pass the test. |
use net.ParseCIDR to parse edns_client_subnet.