summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-10-11 22:29:05 +0200
committerKai Blin <kai@samba.org>2010-10-23 10:17:05 +0000
commit1c25cc705762366e2525e61df3d193b2ea2106bf (patch)
tree43e885bfc28b5eb247e6b0e636f50608e7ca7384
parenta7b833ec7e19bc3251ade69af101631013d60419 (diff)
downloadsamba-1c25cc705762366e2525e61df3d193b2ea2106bf.tar.gz
samba-1c25cc705762366e2525e61df3d193b2ea2106bf.tar.bz2
samba-1c25cc705762366e2525e61df3d193b2ea2106bf.zip
dnsp: Can't have two memebers of a union with the same name
-rw-r--r--librpc/idl/dnsp.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl
index 7c013db514..3a8e384dbe 100644
--- a/librpc/idl/dnsp.idl
+++ b/librpc/idl/dnsp.idl
@@ -93,7 +93,7 @@ interface dnsp
} dnsp_srv;
typedef [nodiscriminant] union {
- [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ip;
+ [case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ipv4;
[case(DNS_TYPE_NS)] dnsp_name ns;
[case(DNS_TYPE_CNAME)] dnsp_name cname;
[case(DNS_TYPE_SOA)] [flag(NDR_BIG_ENDIAN)] dnsp_soa soa;
@@ -101,7 +101,7 @@ interface dnsp
[case(DNS_TYPE_TXT)] dnsp_string txt;
[case(DNS_TYPE_PTR)] dnsp_name ptr;
[case(DNS_TYPE_HINFO)] dnsp_hinfo hinfo;
- [case(DNS_TYPE_AAAA)] ipv6address ip;
+ [case(DNS_TYPE_AAAA)] ipv6address ipv6;
[case(DNS_TYPE_SRV)] [flag(NDR_BIG_ENDIAN)] dnsp_srv srv;
[default] [flag(NDR_REMAINING)] DATA_BLOB data;
} dnsRecordData;