rpcclient: Fix ncacn_ip_tcp:<ip-address>
authorVolker Lendecke <vl@samba.org>
Sun, 9 Jan 2022 12:38:37 +0000 (13:38 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Jan 2022 11:47:34 +0000 (11:47 +0000)
commitb5e56a30dfd33e89cfb602b1e7480e210434d600
tree7b9bb12a251dc1d2558634902c23beb8eddc4dee
parent03734be1d62b8860a6ccaae3801d89b7129729df
rpcclient: Fix ncacn_ip_tcp:<ip-address>

inet_pton expects "struct in_addr" or "struct in6_addr" as destination
pointer. It does not fill in a struct
sockaddr_storage. interpret_string_addr() takes care of this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 10 11:47:34 UTC 2022 on sn-devel-184
selftest/knownfail.d/rpcclient_ncacn_ip_tcp [deleted file]
source3/rpcclient/rpcclient.c