diff options
author | Tom Gundersen <teg@jklm.no> | 2016-05-20 17:27:58 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-05-20 17:27:58 +0200 |
commit | 51e0b250779d28eaffff886b5a3cb208c6813a40 (patch) | |
tree | f3c6a9cae081c1d87a75f7144ecf2a26cb69297f /src/basic/ether-addr-util.h | |
parent | 4e282d11b7f4d08c85b8b80b055b3c92f6714ee1 (diff) | |
parent | 9ed8b06c9be4a5efae432d5cf4b1c47d03e6f107 (diff) |
Merge pull request #3235 from dkg/hwaddr-cleanup
minor improvements for dealing with MAC Addresses
Diffstat (limited to 'src/basic/ether-addr-util.h')
-rw-r--r-- | src/basic/ether-addr-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/ether-addr-util.h b/src/basic/ether-addr-util.h index 074363793e..74e125a95f 100644 --- a/src/basic/ether-addr-util.h +++ b/src/basic/ether-addr-util.h @@ -35,3 +35,5 @@ bool ether_addr_equal(const struct ether_addr *a, const struct ether_addr *b); static inline bool ether_addr_is_null(const struct ether_addr *addr) { return ether_addr_equal(addr, ÐER_ADDR_NULL); } + +int ether_addr_from_string(const char *s, struct ether_addr *ret, size_t *offset); |