Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
e5f1311b
Commit
e5f1311b
authored
Oct 29, 2006
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For wireless nodes, make sure we run the tracing pcapper on an athX iface
rather than the wifiX VAP device that findif reports.
parent
b8607483
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tmcd/common/config/rc.trace
tmcd/common/config/rc.trace
+14
-0
No files found.
tmcd/common/config/rc.trace
View file @
e5f1311b
...
...
@@ -328,6 +328,20 @@ sub doboot()
"
interface!
\n
";
next
;
}
# XXX - if we're on a wifi node, we get goofed up here
# because we get the wifiX VAP device. The pcapper
# needs to listen on the real athX device. So, we just
# fix that little thing here. This should probably
# be moved up into findiface, but it wouldn't be clean
# there either. Correspondingly, we don't put it in
# findif.c because other parts of wifi setup
# depend on seeing the wifiX name! Sigh.
if
(
$iface
=~
/wifi(\d+)/
)
{
$iface
=
"
ath$1
";
}
}
push
(
@cmd
,
"
-f
");
push
(
@cmd
,
$file
);
...
...
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