bh: add complex topo
This commit is contained in:
1 parent
eabfd21698
commit
af4ecdf552
5 files changed
+118
-5
No files matched your search
@@ -65,7 +65,7 @@ namespace nfd {
|
||||
if (!this->isInitial) {
|
||||
// 第一次初始化,给所有可能的下一跳设置一个初始的转发权重
|
||||
for (selected = nexthops.begin(); selected != nexthops.end(); ++selected) {
|
||||
this->addRate(selected->getFace().getId(), 10000);
|
||||
this->addRate(selected->getFace().getId(), 100000);
|
||||
}
|
||||
this->isInitial = true;
|
||||
return nexthops.begin();
|
||||
|
||||
Reference in new issue
Block a user