Commit 0f7bff7a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Set the mask to NULL when releasing nodes.

parent 0bad7bd5
......@@ -239,7 +239,7 @@ foreach my $n (@freed_nodes) {
# Clean up interfaces by clearing IPs and/or aliases.
if (! ($n =~ /sh\d+/)) {
# Its not a shark, so clean out all IPs except the control net.
DBQueryWarn("update interfaces set IP='',IPaliases=NULL " .
DBQueryWarn("update interfaces set IP='',IPaliases=NULL,mask=NULL " .
"where node_id='$n' and ".
" role='" . TBDB_IFACEROLE_EXPERIMENT() . "'")
|| $error++;
......
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