]> git.pld-linux.org Git - packages/samba.git/blob - samba-nmbd_socket.patch
- pl description for cups-backend-smb
[packages/samba.git] / samba-nmbd_socket.patch
1 diff -durN samba-2.0.7.orig/source/nmbd/nmbd_packets.c samba-2.0.7/source/nmbd/nmbd_packets.c
2 --- samba-2.0.7.orig/source/nmbd/nmbd_packets.c Wed Apr 26 01:06:58 2000
3 +++ samba-2.0.7/source/nmbd/nmbd_packets.c      Sun Dec 31 17:05:04 2000
4 @@ -59,7 +59,7 @@
5      if(ip_equal(local_ip, subrec->myip))
6        return subrec->nmb_sock;
7  
8 -  return ClientNMB;
9 +  return FIRST_SUBNET->nmb_sock;
10  }
11  
12  /***************************************************************************
13 @@ -222,7 +222,7 @@
14  
15    packet->ip = to_ip;
16    packet->port = NMB_PORT;
17 -  packet->fd = ClientNMB;
18 +  packet->fd = FIRST_SUBNET->nmb_sock;
19    packet->timestamp = time(NULL);
20    packet->packet_type = NMB_PACKET;
21    packet->locked = False;
This page took 0.043823 seconds and 3 git commands to generate.