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
05b2baf2
Commit
05b2baf2
authored
Jun 12, 2017
by
Leigh B Stoller
Browse files
Fix bug in previous revision.
parent
303c59a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/nsgenilib.py.in
View file @
05b2baf2
...
...
@@ -577,7 +577,7 @@ for lanname,lifaces in lanifaces.iteritems():
if
(
delay
!=
0
or
loss
!=
0
or
rdelay
!=
0
or
rloss
!=
0
or
((
bw
!=
1000000
and
bw
!=
10000000
)
or
(
rbw
!=
1000000
and
rbw
!=
10000000
))):
lan
.
setNoBandwidthS
haping
()
;
nobws
haping
=
0
;
pass
# geni-lib puts shaping params on both ifaces and links.
...
...
@@ -587,6 +587,9 @@ for lanname,lifaces in lanifaces.iteritems():
iface1
.
bandwidth
=
rbw
iface1
.
latency
=
rdelay
iface1
.
plr
=
rloss
if
nobwshaping
:
lan
.
setNoBandwidthShaping
();
pass
else
:
#
# A symmetrically shaped lan is the most common and easiest to deal
...
...
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