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

This commit is contained in:
evilsocket 2019-02-13 10:12:34 +01:00
commit 4eead7eafa
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
58 changed files with 2052 additions and 2052 deletions

View file

@ -16,26 +16,26 @@ func NewPacketProxy(s *session.Session) *PacketProxy {
}
}
func (pp PacketProxy) Name() string {
func (mod PacketProxy) Name() string {
return "packet.proxy"
}
func (pp PacketProxy) Description() string {
func (mod PacketProxy) Description() string {
return "Not supported on this OS"
}
func (pp PacketProxy) Author() string {
func (mod PacketProxy) Author() string {
return "Simone Margaritelli <evilsocket@gmail.com>"
}
func (pp *PacketProxy) Configure() (err error) {
func (mod *PacketProxy) Configure() (err error) {
return session.ErrNotSupported
}
func (pp *PacketProxy) Start() error {
func (mod *PacketProxy) Start() error {
return session.ErrNotSupported
}
func (pp *PacketProxy) Stop() error {
func (mod *PacketProxy) Stop() error {
return session.ErrNotSupported
}