r5118: added support for node status replies in nbtd. nmblookup -S now works against...
[samba.git] / source / librpc / idl / nbt.idl
index 35fc7d90c4042086e63481e0a93f62d544fcbb55..caca7fa336eb25653cfe8ab446670eac676eed20 100644 (file)
@@ -139,8 +139,8 @@ interface nbt
                nb_flags  nb_flags;
        } nbt_status_name;
 
-       typedef [gensize] struct {
-               [value(ndr_size_nbt_rdata_status(r, ndr->flags)-2)] uint16 length;
+       typedef struct {
+               [value(r->num_names * 18 + 47)] uint16 length;
                uint8 num_names;
                nbt_status_name names[num_names];
                nbt_statistics  statistics;