X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=source%2Fnameresp.c;h=c79c30d46f6001f5d68956f4935f45559a697e99;hp=8484cb4fd12916e6c65652b3cf07377aea68bc43;hb=38135c854e6b5d126939e226f815bb1a8d727f69;hpb=ba478e94047cc4f92ae35a508c9e62855619e665 diff --git a/source/nameresp.c b/source/nameresp.c index 8484cb4fd12..c79c30d46f6 100644 --- a/source/nameresp.c +++ b/source/nameresp.c @@ -101,14 +101,14 @@ static void dead_netbios_entry(struct subnet_record *d, if ((!NAME_GROUP(n->nb_flags))) { - struct subnet_record *d = find_subnet(ipgrp); - if (d) + struct subnet_record *d1 = find_subnet(ipgrp); + if (d1) { /* remove the name that had been registered with us, and we're now getting no response when challenging. see rfc1001.txt 15.5.2 */ - remove_netbios_name(d, n->name.name, n->name.name_type, + remove_netbios_name(d1, n->name.name, n->name.name_type, REGISTER, n->to_ip); } }