diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-08-27 09:00:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-08-27 09:00:06 +0000 |
commit | 69e841f871b288798604bda40b3a4d571659c7aa (patch) | |
tree | 35735c4cf6e273a6e36f96d78200fbd07e294f96 | |
parent | 91b8ed64a63865802df7914c43eb0fae03544cc9 (diff) | |
parent | 1fe0af8b31b76912fe11da67bea5eb67a1833a47 (diff) |
Merge "HICN-269 correctly set forwarding strategy with set command"
-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 */ } } |