Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
0f7bff7a
Commit
0f7bff7a
authored
Sep 04, 2003
by
Leigh B. Stoller
Browse files
Set the mask to NULL when releasing nodes.
parent
0bad7bd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/nfree.in
View file @
0f7bff7a
...
...
@@ -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
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment