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 | 24bf82f30631565578a40b0532341f6aa6bbcd41 (patch) | |
tree | 770ca69fa91d279942fb1612c8215f2850e3670b | |
parent | bdb2c12d2ecd47d07acc8ef3f72fcb0215ecc988 (diff) | |
download | samba-24bf82f30631565578a40b0532341f6aa6bbcd41.tar.gz samba-24bf82f30631565578a40b0532341f6aa6bbcd41.tar.bz2 samba-24bf82f30631565578a40b0532341f6aa6bbcd41.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
(This used to be commit 4c540393b33a5c49adafcc9320f591490b97192a)
-rw-r--r-- | source3/libsmb/clidgram.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index b76d46e1bf..a45cc009ac 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/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); |