diff options
-rw-r--r-- | lib/util/util_net.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/util_sock.c | 5 |
3 files changed, 0 insertions, 7 deletions
diff --git a/lib/util/util_net.h b/lib/util/util_net.h index 215a6574d4..2f1beffb16 100644 --- a/lib/util/util_net.h +++ b/lib/util/util_net.h @@ -106,7 +106,6 @@ char *print_sockaddr(char *dest, const struct sockaddr_storage *psa); char *print_canonical_sockaddr(TALLOC_CTX *ctx, const struct sockaddr_storage *pss); -const char *client_name(int fd); int get_socket_port(int fd); const char *client_socket_addr(int fd, char *addr, size_t addr_len); diff --git a/source3/include/proto.h b/source3/include/proto.h index a9270fc903..4477246fbb 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -571,7 +571,6 @@ char *print_sockaddr(char *dest, const struct sockaddr_storage *psa); char *print_canonical_sockaddr(TALLOC_CTX *ctx, const struct sockaddr_storage *pss); -const char *client_name(int fd); int get_socket_port(int fd); const char *client_addr(int fd, char *addr, size_t addrlen); const char *client_socket_addr(int fd, char *addr, size_t addr_len); diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 54286b3f31..509e7b7d3a 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -29,11 +29,6 @@ #include "../lib/util/tevent_ntstatus.h" #include "../lib/tsocket/tsocket.h" -const char *client_name(int fd) -{ - return get_peer_name(fd,false); -} - const char *client_addr(int fd, char *addr, size_t addrlen) { return get_peer_addr(fd,addr,addrlen); |