|
|
|
@ -2,7 +2,6 @@
|
|
|
|
|
package router |
|
|
|
|
|
|
|
|
|
import ( |
|
|
|
|
"fmt" |
|
|
|
|
"sync" |
|
|
|
|
|
|
|
|
|
"git.hpds.cc/Component/network/frame" |
|
|
|
@ -60,7 +59,11 @@ func (r *defaultRoute) Add(connId string, name string, observeDataTags []frame.T
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if !ok { |
|
|
|
|
return fmt.Errorf("SFN[%s] does not exist in config functions", name) |
|
|
|
|
//return fmt.Errorf("SFN[%s] does not exist in config functions", name)
|
|
|
|
|
//item := config.App{
|
|
|
|
|
// Name: name,
|
|
|
|
|
//}
|
|
|
|
|
r.functions = append(r.functions, name) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//LOOP:
|
|
|
|
|