From 1fe0af8b31b76912fe11da67bea5eb67a1833a47 Mon Sep 17 00:00:00 2001 From: michele papalini Date: Tue, 27 Aug 2019 10:32:40 +0200 Subject: HICN-269 correctly set forwarding strategy with set command Change-Id: Idd6820a64bf0e658abef7607044cd980e62d6987 Signed-off-by: michele papalini --- hicn-light/src/hicn/processor/messageProcessor.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hicn-light/src') 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 */ } } -- cgit 1.2.3-korg