mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-25 09:40:41 +08:00
restore DialerAddr
This commit is contained in:
@@ -62,6 +62,7 @@ func (s *simpleSessionStater) Start() error {
|
||||
sess.Network,
|
||||
date(sess.SessionStart),
|
||||
duration(sess.SessionStart, sess.SessionClose),
|
||||
// sess.DialerAddr,
|
||||
sess.ClientAddr,
|
||||
sess.TargetAddr,
|
||||
byteCountSI(atomic.LoadInt64(&sess.UploadBytes)),
|
||||
|
||||
@@ -18,6 +18,7 @@ type SessionStater interface {
|
||||
type Session struct {
|
||||
ProcessName string
|
||||
Network string
|
||||
DialerAddr string
|
||||
ClientAddr string
|
||||
TargetAddr string
|
||||
UploadBytes int64
|
||||
|
||||
Reference in New Issue
Block a user