summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-28 17:40:38 +0200
committerJo-Philipp Wich <jow@openwrt.org>2012-09-28 23:16:06 +0300
commit8370eef2bc724b3c08f8665e3caaaae9b75012f7 (patch)
tree133faeeaf6f70fd8e9f533cb659647fc407d33f2 /utils.h
parent8a671b56edd90d9b19ea4317ce664793ee324cb4 (diff)
downloadnetifd-8370eef2bc724b3c08f8665e3caaaae9b75012f7.tar.gz
utils.c: add helper function to format mac addresses as strings
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index ec22313..048ad8f 100644
--- a/utils.h
+++ b/utils.h
@@ -114,4 +114,6 @@ unsigned int parse_netmask_string(const char *str, bool v6);
bool split_netmask(char *str, unsigned int *netmask, bool v6);
int parse_ip_and_netmask(int af, const char *str, void *addr, unsigned int *netmask);
+char * format_macaddr(uint8_t *mac);
+
#endif