git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use common net utility code (address and sockaddr manipulation).
[ira/wip.git]
/
source4
/
client
/
smbmount.c
diff --git
a/source4/client/smbmount.c
b/source4/client/smbmount.c
index d2e98eb14000440dde6d2c8c034a95868a9b6546..c219a42f3ae043fd704ad6e2a7269b45dda19300 100644
(file)
--- a/
source4/client/smbmount.c
+++ b/
source4/client/smbmount.c
@@
-800,7
+800,7
@@
static void parse_mount_smb(int argc, char **argv)
DEBUGLEVEL = val;
} else if(!strcmp(opts, "ip")) {
dest_ip = interpret_addr2(opteq+1);
- if (is_zero_ip(dest_ip)) {
+ if (is_zero_ip
_v4
(dest_ip)) {
fprintf(stderr,"Can't resolve address %s\n", opteq+1);
exit(1);
}