diff options
Diffstat (limited to 'source3/libcli/nbt')
-rw-r--r-- | source3/libcli/nbt/nbtname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libcli/nbt/nbtname.c b/source3/libcli/nbt/nbtname.c index 2025ef70e7..fbb9550655 100644 --- a/source3/libcli/nbt/nbtname.c +++ b/source3/libcli/nbt/nbtname.c @@ -420,7 +420,7 @@ _PUBLIC_ void nbt_choose_called_name(TALLOC_CTX *mem_ctx, n->scope = NULL; n->type = type; - if (is_ipaddress(name) || name == NULL) { + if ((name == NULL) || is_ipaddress(name)) { n->name = "*SMBSERVER"; return; } |