diff options
-rw-r--r-- | lib/util/util_net.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 1 |
2 files changed, 2 insertions, 1 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_ */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 6ecf0a5542..f6a43852f0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1374,7 +1374,6 @@ char *print_sockaddr(char *dest, const struct sockaddr_storage *psa); char *print_canonical_sockaddr(TALLOC_CTX *ctx, const struct sockaddr_storage *pss); -void set_sockaddr_port(struct sockaddr *psa, uint16_t port); const char *client_name(int fd); int get_socket_port(int fd); const char *client_addr(int fd, char *addr, size_t addrlen); |