Commit 21ec9636 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Change another control_net to control_iface.

parent 4088258c
......@@ -2831,7 +2831,7 @@ sub TBIPtoNodeID($$)
DBQueryFatal("select n.node_id from interfaces as i ".
"left join nodes as n on n.node_id=i.node_id ".
"left join node_types as t ".
" on t.type=n.type and i.card=t.control_net ".
" on t.type=n.type and i.iface=t.control_iface ".
"where i.IP='$ip'");
if ($query_result->numrows == 0) {
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