diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-11-07 09:04:57 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-11-07 09:04:57 +0000 |
commit | 99cbab5c3b2fa9af822415a24832892e869f1d3e (patch) | |
tree | 93482a06824902f98dd288759fcea7d04be1b76e /source3/wrepld | |
parent | 6a594ea65e9a6a07a64b68f2d987795eba27e324 (diff) | |
download | samba-99cbab5c3b2fa9af822415a24832892e869f1d3e.tar.gz samba-99cbab5c3b2fa9af822415a24832892e869f1d3e.tar.bz2 samba-99cbab5c3b2fa9af822415a24832892e869f1d3e.zip |
From 3_0:
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 99311b437be050fd9ee656cd184f299993d20bfb)
Diffstat (limited to 'source3/wrepld')
-rw-r--r-- | source3/wrepld/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/wrepld/process.c b/source3/wrepld/process.c index 1f96dc996c..0e9a9b3461 100644 --- a/source3/wrepld/process.c +++ b/source3/wrepld/process.c @@ -342,7 +342,7 @@ static void receive_version_number_map_table(GENERIC_PACKET *q, GENERIC_PACKET * return; } - fstrcpy(peer,get_socket_addr(q->fd)); + fstrcpy(peer,get_peer_addr(q->fd)); addr=*interpret_addr2(peer); get_our_last_id(&global_wins_table[0][0]); @@ -842,7 +842,7 @@ void construct_reply(struct wins_packet_struct *p) fstring peer; struct in_addr addr; int i; - fstrcpy(peer,get_socket_addr(p->fd)); + fstrcpy(peer,get_peer_addr(p->fd)); addr=*interpret_addr2(peer); for (i=1; i<partner_count; i++) |