Code Review
/
integration
/
test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b3be498
)
Fix typo in Sxp library
70/49270/2
author
Martin Mihálek
<mamihale@cisco.com>
Mon, 12 Dec 2016 20:17:28 +0000
(21:17 +0100)
committer
Jamo Luhrsen
<jluhrsen@redhat.com>
Wed, 14 Dec 2016 17:18:45 +0000
(17:18 +0000)
Fixes prefix range initial values to match intentions of tests.
Change-Id: Iebbe3986e9c9ab3eeb091b4c174829b9ec8b685a
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
csit/libraries/Sxp.py
patch
|
blob
|
history
diff --git
a/csit/libraries/Sxp.py
b/csit/libraries/Sxp.py
index 720871e581c03abc635ff2814d873f9ae661c041..33c9b4d1138e0ffe9b8d79d2955f5060481ac585 100644
(file)
--- a/
csit/libraries/Sxp.py
+++ b/
csit/libraries/Sxp.py
@@
-1056,7
+1056,7
@@
def prefix_range(start, end):
index = 0
prefixes = ''
while index < end:
- prefixes += get_ip_from_number(index
,
start) + '/32'
+ prefixes += get_ip_from_number(index
+
start) + '/32'
index += 1
if index < end:
prefixes += ','