Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
050d4acf
Commit
050d4acf
authored
Feb 12, 2010
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make virtual_interface_id parsing more lenient.
parent
50d9cc56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+3
-1
No files found.
protogeni/lib/GeniCM.pm.in
View file @
050d4acf
...
...
@@ -1212,12 +1212,14 @@ sub GetTicketAuxAux($$$$$$$$)
my $virtual_node_id = GeniXML::GetText("virtual_node_id",
$iface_ref);
my $virtual_port_id = GeniXML::GetText("virtual_interface_id",
$iface_ref) ||
GeniXML::GetText("virtual_port_id",
$iface_ref);
my $component_id = GeniXML::GetText("component_id",
$iface_ref);
if (!defined($virtual_node_id) || !defined($virtual_port_id)) {
$response = GeniResponse->Create(GENIRESPONSE_ERROR, undef,
"Virtual
port
ID or virtual interface ID missing on interface");
"Virtual
node
ID or virtual interface ID missing on interface");
goto bad;
}
my $linkref = $vportmap{"$virtual_node_id:$virtual_port_id"};
...
...
Write
Preview
Markdown
is supported
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