From 62f69bea5098e4e39f34023d0bbacaf975ed5f0e Mon Sep 17 00:00:00 2001 From: sjlleo Date: Fri, 20 May 2022 18:06:29 +0800 Subject: Fix: Network Unreachable Reminder --- verify/ipv4.go | 2 +- verify/ipv6.go | 2 +- 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 { -- cgit v1.2.3