summaryrefslogtreecommitdiff
path: root/lib/util/util_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/util_net.h')
-rw-r--r--lib/util/util_net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/util_net.h b/lib/util/util_net.h
index 6eacfc395f..5dc4df5e12 100644
--- a/lib/util/util_net.h
+++ b/lib/util/util_net.h
@@ -43,4 +43,6 @@ bool interpret_string_addr_prefer_ipv4(struct sockaddr_storage *pss,
const char *str,
int flags);
+void set_sockaddr_port(struct sockaddr *psa, uint16_t port);
+
#endif /* _SAMBA_UTIL_NET_H_ */