mirror of
https://github.com/wlynxg/NetHive.git
synced 2025-10-13 02:33:40 +08:00
feat: 添加debug日志
This commit is contained in:
@@ -243,6 +243,7 @@ func (e *Engine) RoutineRouteTableWriter() {
|
||||
}
|
||||
|
||||
func (e *Engine) addConn(dst netip.Addr) (PacketChan, error) {
|
||||
e.log.Debugf(e.ctx, "Try to connect to the corresponding node of %s", dst)
|
||||
e.routeTable.Lock()
|
||||
for prefix, id := range e.routeTable.prefix {
|
||||
if prefix.Contains(dst) {
|
||||
|
Reference in New Issue
Block a user