netaddr / netaddr

A network address manipulation library for Python

Home Page:https://netaddr.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When using mac_unix dialect, the mac addy appears trims off two zeros are next to each other.

0foo opened this issue · comments

commented

Screen Shot 2022-05-17 at 7 57 18 PM

Hey @0foo, thank you for the report. That's intentional. You can use mac_unix_expanded if you need the leading zeros.

See #229 (comment)