summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ethernet.c3
-rw-r--r--src/net/ethernet.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index bf8bb93..539764b 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -2,7 +2,7 @@
#include "stdio.h"
-char *network_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen )
+char *ethernet_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen )
{
snprintf( buf, buflen, "%X:%X:%X:%X:%X:%X",
mac.byte[0], mac.byte[1], mac.byte[2],
@@ -10,4 +10,3 @@ char *network_mac_address_to_string( network_mac_address_t mac, char *buf, size_
return buf;
}
-
diff --git a/src/net/ethernet.h b/src/net/ethernet.h
index 3af053d..2731041 100644
--- a/src/net/ethernet.h
+++ b/src/net/ethernet.h
@@ -45,6 +45,6 @@ typedef struct {
#pragma pack()
#endif
-char *network_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen );
+char *ethernet_mac_address_to_string( network_mac_address_t mac, char *buf, size_t buflen );
#endif // ETHERNET_H