Commit 525ed62f authored by Robert Ricci's avatar Robert Ricci
Browse files

Change reloads table to current_reloads for the 'loadaddr' command

parent fefec645
......@@ -1789,7 +1789,7 @@ doloadaddr(int sock, struct in_addr ipaddr, char *rdata, int tcp)
* Get the address the node should contact to load its image
*/
res = mydb_query("select load_address from images as i "
"left join reloads as r on i.imageid = r.image_id "
"left join current_reloads as r on i.imageid = r.image_id "
"where node_id='%s'",
1, nodeid);
......
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