summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr_basic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c
index 31a8b9de6d..96f7323bfd 100644
--- a/librpc/ndr/ndr_basic.c
+++ b/librpc/ndr/ndr_basic.c
@@ -848,6 +848,7 @@ _PUBLIC_ void ndr_print_ipv4address(struct ndr_print *ndr, const char *name,
ndr->print(ndr, "%-25s: %s", name, address);
}
+#ifdef AF_INET6
/*
pull a ipv6address
*/
@@ -903,6 +904,7 @@ _PUBLIC_ void ndr_print_ipv6address(struct ndr_print *ndr, const char *name,
ndr->print(ndr, "%-25s: %s", name, address);
}
#undef IPV6_BYTES
+#endif
_PUBLIC_ void ndr_print_struct(struct ndr_print *ndr, const char *name, const char *type)
{