Revert "[feature] net.sniff.http truncate urls option"

This commit is contained in:
Simone Margaritelli 2018-02-05 15:27:23 +01:00 committed by GitHub
commit 8d877e5294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 45 deletions

View file

@ -11,10 +11,8 @@ import (
"github.com/evilsocket/bettercap-ng/session"
)
const sniffTimeFormat = "2006-01-02 15:04:05"
func vTime(t time.Time) string {
return t.Format(sniffTimeFormat)
return t.Format("15:04:05")
}
func vIP(ip net.IP) string {