summaryrefslogtreecommitdiff
path: root/src/shared/net-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/net-util.h')
-rw-r--r--src/shared/net-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/net-util.h b/src/shared/net-util.h
index 54981725b0..eac394bffa 100644
--- a/src/shared/net-util.h
+++ b/src/shared/net-util.h
@@ -42,3 +42,5 @@ int config_parse_hwaddr(const char *unit, const char *filename, unsigned line,
int config_parse_ifname(const char *unit, const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype,
const char *rvalue, void *data, void *userdata);
+
+int net_parse_inaddr(const char *address, unsigned char *family, void *dst);