This is a first step toward moving long namelists into a database. I
[bbaumbach/samba-autobuild/.git] / source / nmbd / nmbd_become_lmb.c
index ffa3b38cba6c79c62174b518361eacc7e7cdc22d..b97da7d8b4ee4aa54d5fa346d40bcdec26827e86 100644 (file)
@@ -67,7 +67,7 @@ static void remove_permanent_name_from_unicast( struct subnet_record *subrec,
   {
     /* Remove this broadcast subnet IP address from the name. */
     remove_ip_from_name_record( namerec, subrec->myip);
-    if(namerec->num_ips == 0)
+    if(namerec->data.num_ips == 0)
       remove_name_from_namelist( unicast_subnet, namerec);
   }
 }