Accept and ignore project_id

This commit is contained in:
Johannes Erdfelt
2011-05-12 18:40:56 +00:00
parent d2b8350a02
commit 33466d3ca0

View File

@@ -22,7 +22,7 @@
import netaddr
def to_global(prefix, mac):
def to_global(prefix, mac, project_id):
try:
mac64 = netaddr.EUI(mac).eui64().words
int_addr = int(''.join(['%02x' % i for i in mac64]), 16)