summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsjlleo <[email protected]>2022-05-20 18:06:29 +0800
committersjlleo <[email protected]>2022-05-20 18:06:29 +0800
commit62f69bea5098e4e39f34023d0bbacaf975ed5f0e (patch)
treede3867026d3613a6b6981a2d34e87cde25195536
parent474ca966f5310052d5581672595432fdf01107b5 (diff)
Fix: Network Unreachable Reminderv3.0-Alpha.3
-rw-r--r--verify/ipv4.go2
-rw-r--r--verify/ipv6.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/verify/ipv4.go b/verify/ipv4.go
index 6e086c9..d014fc0 100644
--- a/verify/ipv4.go
+++ b/verify/ipv4.go
@@ -35,7 +35,7 @@ func (v *IPv4Verifier) Execute() *VerifyResponse {
switch res := <-v.unblockTestChan; {
case res.err != nil:
- response.StatusCode = NetworkUnrachable
+ v.unblockStatus = NetworkUnrachable
case res.CountryCode != "":
switch res.movieID {
diff --git a/verify/ipv6.go b/verify/ipv6.go
index f6471b2..05083c7 100644
--- a/verify/ipv6.go
+++ b/verify/ipv6.go
@@ -35,7 +35,7 @@ func (v *IPv6Verifier) Execute() *VerifyResponse {
switch res := <-v.unblockTestChan; {
case res.err != nil:
- response.StatusCode = NetworkUnrachable
+ v.unblockStatus = NetworkUnrachable
case res.CountryCode != "":
switch res.movieID {