diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-29 14:00:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:12 -0500 |
commit | 08f16292a0cfab57c484661c1f05e1a49ec06942 (patch) | |
tree | e018b47bf00b965bd6222893256d853707b6f572 /source4/torture | |
parent | 9cbafc42ee5cbaae9dfb9d147eefd0e59ff953d0 (diff) | |
download | samba-08f16292a0cfab57c484661c1f05e1a49ec06942.tar.gz samba-08f16292a0cfab57c484661c1f05e1a49ec06942.tar.bz2 samba-08f16292a0cfab57c484661c1f05e1a49ec06942.zip |
r10608: - fix hierachical memory handling in ndr_pull_nbt_name
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
instead of the caller
- give the flags and group_flag in the wrepl_name a meaning
metze
(This used to be commit b98efc2905e1147eb97111b46a877bdb9d8dd154)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index cd60e12499..d3ec5e84d6 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -147,9 +147,10 @@ static void display_entry(TALLOC_CTX *mem_ctx, struct wrepl_name *name) int i; printf("%s\n", nbt_name_string(mem_ctx, &name->name)); - printf("\tFLAGS: 0x%08X G_FLAG: 0x%08X VERSION_ID: %llu\n", - name->flags, name->group_flag, name->version_id); - printf("\tOWNER: %-15s\n", name->owner); + printf("\tTYPE:%u STATE:%u NODE:0x%04X STATIC:%u VERSION_ID: %llu\n", + name->type, name->state, name->node, name->is_static, name->version_id); + printf("\tRAW_FLAGS:0x%08X OWNER: %-15s\n", + name->raw_flags, name->owner); for (i=0;i<name->num_addresses;i++) { printf("\tADDR: %-15s OWNER: %-15s\n", name->addresses[i].address, name->addresses[i].owner); |