Commit f2066ed0 authored by Leigh B Stoller's avatar Leigh B Stoller

Bug fix for swapmod; when cleaning current interfaces, must set

the current_speed=0
parent bd1b0071
......@@ -3141,7 +3141,7 @@ sub RemovePhysicalState($)
# Interfaces table is special. Also cleaned in nfree.
DBQueryWarn("update interfaces set IP='',IPaliases=NULL,mask=NULL,".
" rtabid='0',vnode_id=NULL " .
" rtabid='0',vnode_id=NULL,current_speed='0' " .
"where ($clause) and ".
" role='" . TBDB_IFACEROLE_EXPERIMENT() . "' ")
or $errors++;
......
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