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
b67f5f15
Commit
b67f5f15
authored
Feb 12, 2010
by
Jonathon Duerig
Browse files
Sometimes interfaces are URNs, sometimes they're not. Fixed to do the right thing regardless.
parent
050d4acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
b67f5f15
...
...
@@ -2127,9 +2127,11 @@ sub SliverWorkAux($$$$$$$)
my $interface;
if ($iface_name ne "lo0") {
my ($authority, $short_node, $short_iface) =
GeniHRN::ParseInterface($iface_name);
$iface_name = $short_iface;
if (GeniHRN::IsValid($iface_name)) {
my ($authority, $short_node, $short_iface) =
GeniHRN::ParseInterface($iface_name);
$iface_name = $short_iface;
}
$interface = Interface->LookupByIface($nodeobject,$iface_name);
if (!defined($interface)) {
$message = "No such interface ".
...
...
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