Skip to content
Snippets Groups Projects
Commit 8986cc34 authored by Pierre LALET's avatar Pierre LALET
Browse files

Another fix for IPv6 random addresses (Guillaume Valadon)

parent 02ddefc2
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ class RandIP6(RandString):
if len(ip) == 9:
ip.remove("")
if ip[-1] == "":
ip[-1] = 0
ip[-1] = "0"
return ":".join(ip)
class RandOID(RandString):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment