Skip to content
GitLab
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
e1788172
Commit
e1788172
authored
Apr 09, 2012
by
Leigh B Stoller
Browse files
Do not worry about interface_state records for management interfaces.
parent
481a8b39
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Interface.pm.in
View file @
e1788172
...
...
@@ -201,8 +201,11 @@ sub Lookup($$$$)
return
undef
if
(
!$query_result);
#
If
a
management
interface
,
the
lack
of
an
interface_state
#
record
is
not
a
big
deal
,
so
let
it
slide
.
return
undef
if
(
!$query_result->numrows);
if
(
!$query_result->numrows &&
$
iface_row
->{
'role'
}
ne
TBDB_IFACEROLE_MANAGEMENT
());
my
$
state_row
=
$
query_result
->
fetchrow_hashref
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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