mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Add wifi_ssid
and wifi_bssid
route and DNS rules
This commit is contained in:
parent
d8d7ab2d57
commit
0acfd6a1c6
@ -60,11 +60,11 @@ func (s *CommandServer) handleLogConn(conn net.Conn) error {
|
||||
for element := s.savedLines.Front(); element != nil; element = element.Next() {
|
||||
savedLines = append(savedLines, element.Value)
|
||||
}
|
||||
s.access.Unlock()
|
||||
subscription, done, err := s.observer.Subscribe()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
s.access.Unlock()
|
||||
defer s.observer.UnSubscribe(subscription)
|
||||
for _, line := range savedLines {
|
||||
err = writeLog(conn, []byte(line))
|
||||
|
Loading…
x
Reference in New Issue
Block a user