diff options
Diffstat (limited to 'source4/librpc/ndr/ndr_misc.c')
-rw-r--r-- | source4/librpc/ndr/ndr_misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/ndr/ndr_misc.c b/source4/librpc/ndr/ndr_misc.c index a3d34643a1..be7dab93d2 100644 --- a/source4/librpc/ndr/ndr_misc.c +++ b/source4/librpc/ndr/ndr_misc.c @@ -24,13 +24,13 @@ #include "system/network.h" #include "librpc/ndr/libndr.h" -_PUBLIC_ void ndr_print_ipv4_addr(struct ndr_print *ndr, const char *name, const struct ipv4_addr *_ip) +_PUBLIC_ void ndr_print_in_addr(struct ndr_print *ndr, const char *name, const struct in_addr *_ip) { - struct ipv4_addr ip; + struct in_addr ip; - ip.addr = htonl(_ip->addr); + ip.s_addr = htonl(_ip->s_addr); - ndr->print(ndr, "%-25s: %s", name, sys_inet_ntoa(ip)); + ndr->print(ndr, "%-25s: %s", name, inet_ntoa(ip)); } _PUBLIC_ void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *guid) |