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 {