diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-05-17 08:01:01 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-05-17 16:55:20 -0400 |
commit | 87c7c9d75e8f5f671824deb0dcc4d05f4b4ab11b (patch) | |
tree | 6c78bee8323a60857c8f534001774a323eebba81 /src/import | |
parent | de25aae110edb2f99a6665c46d5fa8ba78946cd4 (diff) |
network: test MAC address parsing
networkd currently silently accepts some strings as MAC addresses that it
probably shouldn't (like "ab:cd:ef:12:34:56:78" and "ab:cd:ef:12:3 4:56").
Add tests to MAC address parsing to ensure that we only accept valid MAC
addresses, and that we accept the three most common forms of MAC address
(colon-delimited hex, IEEE, and Cisco)
Several of these tests currently fail, but another commit in this series will
resolve them.
Diffstat (limited to 'src/import')
0 files changed, 0 insertions, 0 deletions