fw: remove reliance upon marker name components
refs #5044
Change-Id: Iea6c98e03dbd3e4463f7bb6fca0be4953a2cdc40
diff --git a/daemon/fw/random-strategy.cpp b/daemon/fw/random-strategy.cpp
index 44e7b35..96b2ae7 100644
--- a/daemon/fw/random-strategy.cpp
+++ b/daemon/fw/random-strategy.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, Regents of the University of California,
+ * Copyright (c) 2014-2021, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -52,7 +52,7 @@
const Name&
RandomStrategy::getStrategyName()
{
- static Name strategyName("/localhost/nfd/strategy/random/%FD%01");
+ static const auto strategyName = Name("/localhost/nfd/strategy/random").appendVersion(1);
return strategyName;
}