Commit e0a7f7ad authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to query in linkdelays, to deal with VMs on shared

nodes; pickup up linkdelays for all nodes on the shared node.
parent c45d8a9c
......@@ -2739,8 +2739,8 @@ COMMAND_PROTOTYPE(dolinkdelay)
" i.node_id=d.node_id and i.iface=d.iface "
"left join vinterfaces as v on "
" v.node_id=d.node_id and v.IP=d.ip "
"where d.node_id='%s' %s",
28, reqp->pnodeid, buf);
"where d.node_id='%s' and d.exptidx='%d' %s",
28, reqp->pnodeid, reqp->exptidx, buf);
if (!res) {
error("LINKDELAY: %s: DB Error getting link delays!\n",
reqp->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