misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2019-01-24 17:20:05 +01:00
commit 282b58c024
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
5 changed files with 68 additions and 70 deletions

View file

@ -46,7 +46,7 @@ func NewDiscovery(s *session.Session) *Discovery {
return d.Show(args[0])
}))
d.selector = ViewSelectorFor(&d.SessionModule, "net.show", []string{"ip", "mac", "seen", "sent", "rcvd"}, "")
d.selector = ViewSelectorFor(&d.SessionModule, "net.show", []string{"ip", "mac", "seen", "sent", "rcvd"}, "ip asc")
return d
}