summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-11-07 09:03:02 +0000
committerVolker Lendecke <vlendec@samba.org>2003-11-07 09:03:02 +0000
commitd5573ccde3b5c39eb9a4637d5a9d7a95b66d86e3 (patch)
tree12e0941a99f4b6c49de0156a1613a22d41e2794e /source3/smbd
parentc22afa7d97b8fe2fc00aa5da73ed1d2d8669cd1c (diff)
downloadsamba-d5573ccde3b5c39eb9a4637d5a9d7a95b66d86e3.tar.gz
samba-d5573ccde3b5c39eb9a4637d5a9d7a95b66d86e3.tar.bz2
samba-d5573ccde3b5c39eb9a4637d5a9d7a95b66d86e3.zip
Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system functions. Next step will be the %i macro for the local IP address. I still want to play %L-games in times of port 445. Volker (This used to be commit d7162122eaf5d897e5de51604e431bfbaa20e905)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index af39bcb757..89d6f92e98 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -398,7 +398,7 @@ static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
/* this is needed so that we get decent entries
in smbstatus for port 445 connects */
- set_remote_machine_name(get_socket_addr(smbd_server_fd()), False);
+ set_remote_machine_name(get_peer_addr(smbd_server_fd()), False);
/* Reset global variables in util.c so
that client substitutions will be