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
92f70375
Commit
92f70375
authored
Aug 23, 2017
by
Leigh B Stoller
Browse files
Replace card with iface in join with wires.
parent
15d24b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/node_defs.php
View file @
92f70375
<?php
#
# Copyright (c) 2006-201
6
University of Utah and the Flux Group.
# Copyright (c) 2006-201
7
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -1145,8 +1145,9 @@ class Node
if
(
!
$noperm
)
{
$query_result
=
DBQueryFatal
(
"select i.*,w.* from interfaces as i "
.
"left join wires as w on i.node_id=w.node_id1 "
.
" and i.card=w.card1 and i.port=w.port1 "
.
"left join wires as w on "
.
" i.node_id=w.node_id1 and "
.
" i.iface=w.iface1 "
.
"where i.node_id='
$node_id
' and "
.
" w.node_id1 is not null "
.
"order by iface"
);
...
...
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