Commit 0cf62e63 authored by Leigh Stoller's avatar Leigh Stoller

Change control_net to control_iface.

parent 21ec9636
......@@ -109,7 +109,7 @@ sub ReadTranslationTable {
$result = DBQueryFatal("select i.node_id,i.IP,n.type from interfaces as i ".
"left join nodes as n on n.node_id=i.node_id ".
"left join node_types as nt on n.type=nt.type ".
"where n.role!='testnode' and i.card=nt.control_net");
"where n.role!='testnode' and i.iface=nt.control_iface");
while ( my ($name,$ip,$type) = $result->fetchrow_array()) {
$Devices{$name} = $ip;
$Devices{$ip} = $name;
......
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