Commit 51115be8 authored by Mike Hibler's avatar Mike Hibler
Browse files

Hmm...the rest of the fix needed to restore IXP work-atude

parent 035ed069
......@@ -1059,7 +1059,8 @@ COMMAND_PROTOTYPE(doifconfig)
res = mydb_query("select card,IP,IPalias,MAC,current_speed,duplex, "
" IPaliases,iface,role,mask,rtabid "
"from interfaces where node_id='%s' and %s",
11, reqp->pnodeid, buf);
11, reqp->issubnode ? reqp->nodeid : reqp->pnodeid,
buf);
/*
* We need pnodeid in the query. But error reporting is done
......
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