summaryrefslogtreecommitdiffstats
path: root/source4/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-13 20:24:37 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:00 +0100
commitb09047b78e981af8ade6a72d426bfcb0e742995b (patch)
tree2547a72c9814f190d83cb0f8ecac678976a72ff5 /source4/client
parent8517878144973aa23e653bfc7aabfbaef500c7e2 (diff)
downloadsamba-b09047b78e981af8ade6a72d426bfcb0e742995b.tar.gz
samba-b09047b78e981af8ade6a72d426bfcb0e742995b.tar.xz
samba-b09047b78e981af8ade6a72d426bfcb0e742995b.zip
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/mount.cifs.c2
-rw-r--r--source4/client/smbmount.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/client/mount.cifs.c b/source4/client/mount.cifs.c
index 82904038158..7167859d7b2 100644
--- a/source4/client/mount.cifs.c
+++ b/source4/client/mount.cifs.c
@@ -197,7 +197,7 @@ char * parse_server(char * unc_name)
char * share;
char * ipaddress_string = NULL;
struct hostent * host_entry;
- struct ipv4_addr server_ipaddr;
+ struct in_addr server_ipaddr;
int rc,j;
char temp[64];
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c
index 31e7628fcd2..8a106974c2f 100644
--- a/source4/client/smbmount.c
+++ b/source4/client/smbmount.c
@@ -33,7 +33,7 @@ static pstring mpoint;
static pstring service;
static pstring options;
-static struct ipv4_addr dest_ip;
+static struct in_addr dest_ip;
static bool have_ip;
static int smb_port = 0;
static bool got_user;
@@ -116,7 +116,7 @@ static struct smbcli_state *do_connection(char *the_service)
struct smbcli_state *c;
struct nmb_name called, calling;
char *server_n;
- struct ipv4_addr ip;
+ struct in_addr ip;
pstring server;
char *share;