Commit c9fc67a6 authored by Mike Hibler's avatar Mike Hibler
Browse files

Fix the query in the else clause too, dork...

parent a1e2a5f1
......@@ -3682,7 +3682,7 @@ iptonodeid(struct in_addr ipaddr, tmcdreq_t *reqp)
" e.sync_server,t.class,t.type, "
" t.isremotenode,t.issubnode,e.keyhash, "
" n.sfshostid,e.eventkey,0, "
" e.veth_encapsulate "
" e.veth_encapsulate,0 "
"from interfaces as i "
"left join nodes as n on n.node_id=i.node_id "
"left join reserved as r on "
......@@ -3692,7 +3692,7 @@ iptonodeid(struct in_addr ipaddr, tmcdreq_t *reqp)
"left join node_types as t on "
" t.type=n.type and i.iface=t.control_iface "
"where i.IP='%s'",
23, inet_ntoa(ipaddr));
24, inet_ntoa(ipaddr));
}
if (!res) {
......
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