diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-23 16:54:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-23 16:54:52 +0100 |
commit | 0ab0c01490bd1452c44ec501dfb68e8f6ac03eb1 (patch) | |
tree | 00f1c8fcaba271e6483b05cf9c6181d1d7a048d4 /src/basic/ether-addr-util.c | |
parent | a9ae0709416fe498de85744ce639ba6a9fc50105 (diff) | |
parent | 4c3160f1502e5ebad8cb73ae70cdeead2e534997 (diff) |
Merge pull request #2717 from keszybz/networkctl-prettification
Networkctl prettification
Diffstat (limited to 'src/basic/ether-addr-util.c')
-rw-r--r-- | src/basic/ether-addr-util.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/basic/ether-addr-util.c b/src/basic/ether-addr-util.c index d2c030903b..a4d8d656da 100644 --- a/src/basic/ether-addr-util.c +++ b/src/basic/ether-addr-util.c @@ -43,17 +43,6 @@ char* ether_addr_to_string(const struct ether_addr *addr, char buffer[ETHER_ADDR return buffer; } -bool ether_addr_is_null(const struct ether_addr *addr) { - assert(addr); - - return addr->ether_addr_octet[0] == 0 && - addr->ether_addr_octet[1] == 0 && - addr->ether_addr_octet[2] == 0 && - addr->ether_addr_octet[3] == 0 && - addr->ether_addr_octet[4] == 0 && - addr->ether_addr_octet[5] == 0; -} - bool ether_addr_equal(const struct ether_addr *a, const struct ether_addr *b) { assert(a); assert(b); |