diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-12 01:00:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:45 -0500 |
commit | 7b8f58c37c7a975b93e20bd40b5195960fe22c6f (patch) | |
tree | 2fdb8f527feb2498dbb3551706ec9d17d3b41b89 /source4/nbt_server/query.c | |
parent | 49568fab37d3a8fc3727ec5972cecdaf35e904b5 (diff) | |
download | samba-7b8f58c37c7a975b93e20bd40b5195960fe22c6f.tar.gz samba-7b8f58c37c7a975b93e20bd40b5195960fe22c6f.tar.xz samba-7b8f58c37c7a975b93e20bd40b5195960fe22c6f.zip |
r5352: added a function nbt_name_string() that formats a nbt_name structure
as a human readable string. The format is designed to be able to be
used as the DN for the WINS database as well, while coping with
arbitrary bytes in the name (except nul bytes)
(This used to be commit aac3090e3504ba07124a9d480322a98efb97175e)
Diffstat (limited to 'source4/nbt_server/query.c')
-rw-r--r-- | source4/nbt_server/query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c index cc14a762da..c51a146adf 100644 --- a/source4/nbt_server/query.c +++ b/source4/nbt_server/query.c @@ -79,8 +79,8 @@ void nbtd_request_query(struct nbt_name_socket *nbtsock, ignore it for now */ if (!(iname->nb_flags & NBT_NM_ACTIVE) && (packet->operation & NBT_FLAG_BROADCAST)) { - DEBUG(7,("Query for %s<%02x> from %s - name not active yet on %s\n", - name->name, name->type, src_address, iface->ip_address)); + DEBUG(7,("Query for %s from %s - name not active yet on %s\n", + nbt_name_string(packet, name), src_address, iface->ip_address)); return; } |