diff options
author | michele papalini <micpapal@cisco.com> | 2019-08-27 10:32:40 +0200 |
---|---|---|
committer | michele papalini <micpapal@cisco.com> | 2019-08-27 10:32:40 +0200 |
commit | 1fe0af8b31b76912fe11da67bea5eb67a1833a47 (patch) | |
tree | 4875e73d61994e66e5442ed90f1bd1055b2b4722 | |
parent | 3f709888ef31c008021f2e929a937a3d6b312c87 (diff) |
HICN-269 correctly set forwarding strategy with set command
Change-Id: Idd6820a64bf0e658abef7607044cd980e62d6987
Signed-off-by: michele papalini <micpapal@cisco.com>
-rw-r--r-- | hicn-light/src/hicn/processor/messageProcessor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hicn-light/src/hicn/processor/messageProcessor.c b/hicn-light/src/hicn/processor/messageProcessor.c index 420863e26..7b43543a3 100644 --- a/hicn-light/src/hicn/processor/messageProcessor.c +++ b/hicn-light/src/hicn/processor/messageProcessor.c @@ -415,14 +415,12 @@ void processor_SetStrategy(MessageProcessor *processor, Name *prefix, strategy_type strategy) { FibEntry *entry = fib_Contains(processor->fib, prefix); if (entry != NULL) { -#ifndef WITH_POLICY fibEntry_SetStrategy(entry, strategy); if (strategy == SET_STRATEGY_LOADBALANCER_WITH_DELAY) { strategyLoadBalancerWithPD_SetConnectionTable( fibEntry_GetFwdStrategy(entry), forwarder_GetConnectionTable(processor->forwarder)); } -#endif /* ! WITH_POLICY */ } } |