Commit d9545bce authored by Leigh Stoller's avatar Leigh Stoller

Minor fix to join that retrieved switch/port/card info from wires

table.
parent af30db04
......@@ -346,6 +346,7 @@ if ($showlinks) {
"left join reserved as r on r.vname=v.vnode and ".
" r.pid=v.pid and r.eid=v.eid ".
"left join interfaces as i on r.node_id=i.node_id ".
" and i.ip=v.ip ".
"left join wires as w on i.node_id=w.node_id1 ".
" and i.card=w.card1 and i.port=w.port1 ".
"where v.pid='$pid' and v.eid='$eid' and ".
......
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