Commit 9129398c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix for picking up the vlan tag in join with vinterfaces.

parent 12d3e7e7
...@@ -2069,10 +2069,9 @@ COMMAND_PROTOTYPE(doifconfig) ...@@ -2069,10 +2069,9 @@ COMMAND_PROTOTYPE(doifconfig)
"left join virt_lan_lans as vll on " "left join virt_lan_lans as vll on "
" vll.idx=v.virtlanidx and vll.exptidx=v.exptidx " " vll.idx=v.virtlanidx and vll.exptidx=v.exptidx "
"left join lans as l on " "left join lans as l on "
" l.exptidx=vll.exptidx and l.vname=vll.vname and " " l.exptidx=vll.exptidx and l.vname=vll.vname "
" l.link is null "
"left join vlans on " "left join vlans on "
" vlans.id=l.lanid " " vlans.id=v.vlanid "
"left join lan_attributes as la2 on " "left join lan_attributes as la2 on "
" la2.lanid=v.vlanid and la2.attrkey='stack' " " la2.lanid=v.vlanid and la2.attrkey='stack' "
"where v.exptidx='%d' and v.node_id='%s' and " "where v.exptidx='%d' and v.node_id='%s' and "
......
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