Skip to content

Commit

Permalink
fix(ipv6): mask IPv6 address fetched (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixwrt authored Aug 8, 2023
1 parent 5c0b201 commit 7fac178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/update/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (r *Runner) getNewIPs(ctx context.Context, doIP, doIPv4, doIPv6 bool, ipv6M
if err != nil {
errors = append(errors, err)
} else {
ip = mustMaskIPv6(ip, ipv6MaskBits)
ipv6 = mustMaskIPv6(ipv6, ipv6MaskBits)
}
}
return ip, ipv4, ipv6, errors
Expand Down

0 comments on commit 7fac178

Please sign in to comment.