summaryrefslogtreecommitdiff
path: root/source4/nbt_server/nbt_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nbt_server/nbt_server.h')
-rw-r--r--source4/nbt_server/nbt_server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/nbt_server/nbt_server.h b/source4/nbt_server/nbt_server.h
index a698ebf1a0..6a7b14a546 100644
--- a/source4/nbt_server/nbt_server.h
+++ b/source4/nbt_server/nbt_server.h
@@ -79,3 +79,7 @@ struct nbtd_server {
return; \
} \
} while (0)
+
+/* this copes with the nasty hack that is the type 0x1c name */
+#define IS_GROUP_NAME(name, nb_flags) \
+ ((name)->type != NBT_NAME_LOGON && (nb_flags & NBT_NM_GROUP))