Changeset 221 for branches/samba-3.3.x/source/nmbd
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- Location:
- branches/samba-3.3.x/source/nmbd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/nmbd/nmbd.c
r206 r221 382 382 const struct in_addr *local_ip; 383 383 384 DEBUG(10, ("Received send_packet from % d\n",procid_to_pid(&src)));384 DEBUG(10, ("Received send_packet from %u\n", (unsigned int)procid_to_pid(&src))); 385 385 386 386 if (data->length != sizeof(struct packet_struct)) { 387 DEBUG(2, ("Discarding invalid packet length from % d\n",388 procid_to_pid(&src)));387 DEBUG(2, ("Discarding invalid packet length from %u\n", 388 (unsigned int)procid_to_pid(&src))); 389 389 return; 390 390 } … … 392 392 if ((p->packet_type != NMB_PACKET) && 393 393 (p->packet_type != DGRAM_PACKET)) { 394 DEBUG(2, ("Discarding invalid packet type from % d: %d\n",395 procid_to_pid(&src), p->packet_type));394 DEBUG(2, ("Discarding invalid packet type from %u: %d\n", 395 (unsigned int)procid_to_pid(&src), p->packet_type)); 396 396 return; 397 397 } … … 401 401 402 402 if (pss == NULL) { 403 DEBUG(2, ("Could not find ip for packet from % d\n",404 procid_to_pid(&src)));403 DEBUG(2, ("Could not find ip for packet from %u\n", 404 (unsigned int)procid_to_pid(&src))); 405 405 return; 406 406 } -
branches/samba-3.3.x/source/nmbd/nmbd_become_dmb.c
r206 r221 129 129 work->dmb_name = nmbname; 130 130 131 /* Pick the first interface IPv4 address as the domain master browser ip. */ 131 /* Pick the first interface IPv4 address as the domain master 132 * browser ip. */ 132 133 nip = first_ipv4_iface(); 133 134 if (!nip) { -
branches/samba-3.3.x/source/nmbd/nmbd_subnetdb.c
r206 r221 288 288 289 289 if (lp_we_are_a_wins_server()) { 290 /* Pick the first interface IPv4 address as the WINS server ip. */ 290 /* Pick the first interface IPv4 address as the WINS server 291 * ip. */ 291 292 const struct in_addr *nip = first_ipv4_iface(); 292 293
Note:
See TracChangeset
for help on using the changeset viewer.