summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
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 7167859d7b..8290403815 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 in_addr server_ipaddr;
+ struct ipv4_addr server_ipaddr;
int rc,j;
char temp[64];
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c
index 358fad6ae1..5e6d0209f2 100644
--- a/source4/client/smbmount.c
+++ b/source4/client/smbmount.c
@@ -35,7 +35,7 @@ static pstring mpoint;
static pstring service;
static pstring options;
-static struct in_addr dest_ip;
+static struct ipv4_addr dest_ip;
static BOOL have_ip;
static int smb_port = 0;
static BOOL got_user;
@@ -118,7 +118,7 @@ static struct smbcli_state *do_connection(char *the_service)
struct smbcli_state *c;
struct nmb_name called, calling;
char *server_n;
- struct in_addr ip;
+ struct ipv4_addr ip;
pstring server;
char *share;