1
0
mirror of https://gitee.com/willfree/mlsr.git synced 2026-06-03 15:56:13 +08:00

增加一条日志输出

This commit is contained in:
free will
2022-07-07 17:32:01 +08:00
parent ab9765b271
commit 92cb88862c
+1
View File
@@ -83,6 +83,7 @@ func (t *NamePrefixTable) Init(ownRouterName *component.Identifier,
// 监听路由表的修改,触发NPT表修改 // 监听路由表的修改,触发NPT表修改
bindRoutingChangeFunc := func(args ...interface{}) { bindRoutingChangeFunc := func(args ...interface{}) {
common2.LogInfo("NamePrefixTable bindRoutingChangeFunc.")
entrys := args[0].([]*RoutingTableEntry) entrys := args[0].([]*RoutingTableEntry)
t.UpdateWithNewRoute(entrys) t.UpdateWithNewRoute(entrys)
} }