From db1f6609d13a888dd7212c9ed2840846e70a284e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 2 Aug 2017 18:26:23 +0200 Subject: added an IPv4 module, currently containg an address to string function started to add ARP packet definition, reading and printing ARP request now some renames in networking layer --- src/net/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ethernet.c') diff --git a/src/net/ethernet.c b/src/net/ethernet.c index 48db20c..bf8bb93 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -2,7 +2,7 @@ #include "stdio.h" -char *network_mac_to_string( network_mac_address_t mac, char *buf, size_t buflen ) +char *network_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], -- cgit v1.2.3-54-g00ecf