mirror of
https://gitee.com/willfree/mlsr.git
synced 2026-06-03 15:56:13 +08:00
增加一条日志输出
This commit is contained in:
@@ -83,6 +83,7 @@ func (t *NamePrefixTable) Init(ownRouterName *component.Identifier,
|
||||
|
||||
// 监听路由表的修改,触发NPT表修改
|
||||
bindRoutingChangeFunc := func(args ...interface{}) {
|
||||
common2.LogInfo("NamePrefixTable bindRoutingChangeFunc.")
|
||||
entrys := args[0].([]*RoutingTableEntry)
|
||||
t.UpdateWithNewRoute(entrys)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user