From 24bf82f30631565578a40b0532341f6aa6bbcd41 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 7 Jan 2001 13:38:24 +0000 Subject: 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) --- source3/libsmb/clidgram.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/libsmb') 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); -- cgit