Skip to content

Commit 6e6576d

Browse files
authored
Merge pull request #1161 from trws/firstnodex-known
policies: add firstnodex to the known policies
2 parents d0b9ac3 + a587a97 commit 6e6576d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource/policies/dfu_match_policy_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace resource_model {
2323
bool known_match_policy (const std::string &policy)
2424
{
2525
bool rc = true;
26-
if (policy != FIRST_MATCH
26+
if (policy != FIRST_MATCH && policy != FIRST_NODEX_MATCH
2727
&& policy != HIGH_ID_FIRST && policy != LOW_ID_FIRST
2828
&& policy != LOW_NODE_FIRST && policy != HIGH_NODE_FIRST
2929
&& policy != LOW_NODEX_FIRST && policy != HIGH_NODEX_FIRST

0 commit comments

Comments
 (0)