diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-01-07 13:38:24 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-01-07 13:38:24 +0000 |
commit | 4c540393b33a5c49adafcc9320f591490b97192a (patch) | |
tree | cac17d1507b77aa68a68562d456dc35c57275c58 /source/libsmb/clidgram.c | |
parent | a13b5ef7bba86d42df98b4f493aa2ea9e1caa6c3 (diff) | |
download | samba-4c540393b33a5c49adafcc9320f591490b97192a.tar.gz samba-4c540393b33a5c49adafcc9320f591490b97192a.tar.xz samba-4c540393b33a5c49adafcc9320f591490b97192a.zip |
Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior to
sending datagrams in clidgram.c
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r-- | source/libsmb/clidgram.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c index b76d46e1bfe..a45cc009ac8 100644 --- a/source/libsmb/clidgram.c +++ b/source/libsmb/clidgram.c @@ -158,8 +158,6 @@ int cli_get_response(BOOL unique, char *mailslot, char *buf, int bufsiz) * from fixed, known locations ... */ - fprintf(stderr, "Packet: Data is: %s\n", &dgram->data[92]); - /* Copy the data to buffer, respecting sizes ... */ bcopy(&dgram->data[92], buf, MIN(bufsiz, (dgram->datasize - 92))); @@ -188,9 +186,9 @@ int cli_get_backup_list(const char *myname, const char *send_to_name) } - inet_aton("10.0.0.6", &my_ip); + inet_aton("0.0.0.0", &my_ip); - if (!resolve_name(myname, &my_ip, 0x00)) { + if (!resolve_name(myname, &my_ip, 0x00)) { /* FIXME: Call others here */ fprintf(stderr, "Could not resolve name: %s<00>\n", myname); |