summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/nmblookup.c2
-rw-r--r--source3/utils/smbcontrol.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 17fbd485ae..4ce6968473 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -332,7 +332,7 @@ int main(int argc,char *argv[])
if(lookup_by_ip) {
struct sockaddr_storage ss;
- ip = *interpret_addr2(lookup);
+ (void)interpret_addr2(&ip, lookup);
in_addr_to_sockaddr_storage(&ss, ip);
fstrcpy(lookup,"*");
do_node_status(ServerFD, lookup, lookup_type, &ss);
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index b79fa29cdb..835adca4bd 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -1087,7 +1087,7 @@ static bool do_nodestatus(struct messaging_context *msg_ctx,
ZERO_STRUCT(p);
- p.ip = *interpret_addr2(argv[1]);
+ (void)interpret_addr2(&p.ip, argv[1]);
p.port = 137;
p.packet_type = NMB_PACKET;