fw: move STRATEGY_NAME to getStrategyName static function
This avoids potential problems with static initialization order.
refs #3868
Change-Id: I13f0ff6c51c0a3bd43af7993233ff63a4bca9cf9
diff --git a/daemon/fw/forwarder.cpp b/daemon/fw/forwarder.cpp
index 8efc522..76e4127 100644
--- a/daemon/fw/forwarder.cpp
+++ b/daemon/fw/forwarder.cpp
@@ -38,7 +38,7 @@
static Name
getDefaultStrategyName()
{
- return fw::BestRouteStrategy2::STRATEGY_NAME;
+ return fw::BestRouteStrategy2::getStrategyName();
}
Forwarder::Forwarder()