mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
new: implemented dns packet parser
This commit is contained in:
parent
9cdf365b13
commit
27b1f48584
5 changed files with 79 additions and 37 deletions
|
@ -17,7 +17,7 @@ func vTime(t time.Time) string {
|
|||
|
||||
func vIP(ip net.IP) string {
|
||||
if session.I.Interface.IP.Equal(ip) {
|
||||
return core.Dim("-")
|
||||
return core.Dim("local")
|
||||
} else if session.I.Gateway.IP.Equal(ip) {
|
||||
return "gateway"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue