Commit 16ec0770 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix bug in previous revision.

parent 7c038e0e
...@@ -1569,12 +1569,11 @@ COMMAND_PROTOTYPE(doifconfig) ...@@ -1569,12 +1569,11 @@ COMMAND_PROTOTYPE(doifconfig)
"left join interfaces as i on " "left join interfaces as i on "
" i.node_id=v.node_id and i.iface=v.iface " " i.node_id=v.node_id and i.iface=v.iface "
"left join virt_lan_lans as vll on " "left join virt_lan_lans as vll on "
" vll.idx=v.virtlanidx " " vll.idx=v.virtlanidx and vll.exptidx='%d' "
"left join vlans as vn on " "left join vlans as vn on "
" vn.id=v.vlanid " " vn.id=v.vlanid "
"where v.node_id='%s' and %s", "where v.node_id='%s' and %s",
10, reqp->pid, reqp->eid, reqp->nickname, 10, reqp->exptidx, reqp->pnodeid, buf);
reqp->pnodeid, buf);
if (!res) { if (!res) {
error("IFCONFIG: %s: DB Error getting veth interfaces!\n", error("IFCONFIG: %s: DB Error getting veth interfaces!\n",
reqp->nodeid); 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