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
e8a7fa5b
Commit
e8a7fa5b
authored
Apr 13, 2011
by
Leigh B Stoller
Browse files
Bug Fix: for interface_setting handling.
parent
15cbcf89
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/libvtop.pm.in
View file @
e8a7fa5b
...
...
@@ -114,6 +114,8 @@ sub Create($$$$)
$
self
->{
'NORECOVER'
}
=
0
;
bless
($
self
,
$
class
);
$
virtexperiment
->
Dump
()
if
(
0
&&
$
self
->
verbose
());
return
$
self
;
}
...
...
@@ -7422,8 +7424,12 @@ sub UpLoadInterfaceSettings($)
foreach my $lan_setting ($self->virt_lan_settings()->Rows()) {
my $capkey = DBQuoteSpecial($lan_setting->capkey());
my $capval = DBQuoteSpecial($lan_setting->capval());
my $vname = $lan_setting->vname();
$self->printdb("interface_setting: ".
next
if ($vname ne $vlanname);
$self->printdb("interface_setting: $vname: ".
"$pnodename $iface $capkey $capval\n");
DBQueryWarn("insert into interface_settings ".
...
...
@@ -7444,7 +7450,7 @@ sub UpLoadInterfaceSettings($)
my $capkey = DBQuoteSpecial($setting->capkey());
my $capval = DBQuoteSpecial($setting->capval());
$self->printdb("interface_setting: ".
$self->printdb("interface_setting
(member)
: ".
"$pnodename $iface $capkey $capval\n");
DBQueryWarn("replace into interface_settings ".
...
...
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