Skip to content
Snippets Groups Projects
Commit ed457e5f authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files
parent 6695b89a
No related branches found
No related tags found
No related merge requests found
......@@ -291,6 +291,8 @@ class RandIP6(RandString):
ip.append("%04x" % n)
if len(ip) == 9:
ip.remove("")
if ip[-1] == "":
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