Refactor: metadata use netip.Addr
This commit is contained in:
@ -51,7 +51,7 @@ func getKey(metadata *C.Metadata) string {
|
||||
}
|
||||
}
|
||||
|
||||
if metadata.DstIP == nil {
|
||||
if !metadata.DstIP.IsValid() {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user