Skip to content
Snippets Groups Projects
Commit 73361674 authored by Pierre Lalet's avatar Pierre Lalet
Browse files

Merge pull request #118 from guedou/Issue_#115

Fix Issue #115
parents 2ec520aa 66439f18
No related branches found
No related tags found
No related merge requests found
......@@ -390,6 +390,7 @@ def in6_getLocalUniquePrefix():
j = int((tod - i)*(2**32))
tod = struct.pack("!II", i,j)
# TODO: Add some check regarding system address gathering
from scapy.arch import get_if_raw_hwaddr
rawmac = get_if_raw_hwaddr(conf.iface6)[1]
mac = ":".join(map(lambda x: "%.02x" % ord(x), list(rawmac)))
# construct modified EUI-64 ID
......
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