Copy resolver IPScope to DNS connection IPScope

This commit is contained in:
Daniel
2023-08-04 21:41:37 +02:00
parent bf6bf0705d
commit b645e440ad
3 changed files with 20 additions and 7 deletions

View File

@@ -60,6 +60,7 @@ type Entity struct { //nolint:maligned
IP net.IP
// IPScope holds the network scope of the IP.
// For DNS requests, this signifies in which scope the DNS request was resolved.
IPScope netutils.IPScope
// Country holds the country the IP address (ASN) is