mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
549fdc45af
commit
b81d26aa93
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func MDNSGetMeta(pkt gopacket.Packet) map[string]string {
|
|||
for _, raw := range answer.TXTs {
|
||||
if value := string(raw); strings.Contains(value, "=") {
|
||||
parts := strings.SplitN(value, "=", 2)
|
||||
meta[core.Trim(parts[0])] = core.Trim(parts[1])
|
||||
meta["mdns:"+core.Trim(parts[0])] = core.Trim(parts[1])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue