Commit 282e4ded authored by Ryan Jackson's avatar Ryan Jackson
Browse files

sort nodes by node.priority in dodhcpdconf

parent bf051a08
......@@ -7922,7 +7922,7 @@ COMMAND_PROTOTYPE(dodhcpdconf)
"left join interfaces as i on n.node_id = i.node_id "
"left join reserved as r on n.node_id = r.node_id "
"where s.subboss_id = '%s' and "
"s.service='dhcp' and i.role='ctrl'", 11,
"s.service='dhcp' and i.role='ctrl' order by n.priority", 11,
if (!res) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment