summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-10-05 14:57:59 +0200
committerGünther Deschner <gd@samba.org>2010-10-05 13:09:05 +0000
commit0a1ce77e29dd24f8f410e8832244bd8d03fd08b5 (patch)
treef8b6ea1f63988a5a0269819f66eaa1e82af0205e
parent2b58efb1fcbf7a67d850cb6a68b932983c36c7af (diff)
downloadsamba-0a1ce77e29dd24f8f410e8832244bd8d03fd08b5.tar.gz
samba-0a1ce77e29dd24f8f410e8832244bd8d03fd08b5.tar.bz2
samba-0a1ce77e29dd24f8f410e8832244bd8d03fd08b5.zip
s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().
Guenther
-rw-r--r--source3/librpc/ndr/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c
index 5966ca8679..d6a41a0ef1 100644
--- a/source3/librpc/ndr/util.c
+++ b/source3/librpc/ndr/util.c
@@ -101,6 +101,9 @@ const char *ndr_errstr(enum ndr_err_code err)
case NDR_ERR_IPV4ADDRESS:
return "NDR_ERR_IPV4ADDRESS";
break;
+ case NDR_ERR_IPV6ADDRESS:
+ return "NDR_ERR_IPV6ADDRESS";
+ break;
case NDR_ERR_INVALID_POINTER:
return "NDR_ERR_INVALID_POINTER";
break;