Skip to content
Snippets Groups Projects
Commit 9fd4e9b1 authored by skorpy's avatar skorpy :construction_worker:
Browse files

_modules/net.py: init

parent f238916b
No related branches found
No related tags found
No related merge requests found
Pipeline #20739 passed
import logging
# compose mac for interfaces
def clientbr_mac(domain_id, host_id):
return ":".join(['DA', 'FF', str(domain_id).zfill(2), '00', str(host_id), '04'])
def batadv_mac(domain_id, host_id):
return ":".join(['DA', 'FF', str(domain_id).zfill(2), '00', str(host_id), '02'])
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