]> git.pld-linux.org Git - packages/samba.git/commitdiff
- fix of nmbd packet source address selection samba-2_0_7-25
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 31 Dec 2000 16:26:42 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba-nmbd_socket.patch -> 1.1

samba-nmbd_socket.patch [new file with mode: 0644]

diff --git a/samba-nmbd_socket.patch b/samba-nmbd_socket.patch
new file mode 100644 (file)
index 0000000..1d9c336
--- /dev/null
@@ -0,0 +1,21 @@
+diff -durN samba-2.0.7.orig/source/nmbd/nmbd_packets.c samba-2.0.7/source/nmbd/nmbd_packets.c
+--- samba-2.0.7.orig/source/nmbd/nmbd_packets.c        Wed Apr 26 01:06:58 2000
++++ samba-2.0.7/source/nmbd/nmbd_packets.c     Sun Dec 31 17:05:04 2000
+@@ -59,7 +59,7 @@
+     if(ip_equal(local_ip, subrec->myip))
+       return subrec->nmb_sock;
+-  return ClientNMB;
++  return FIRST_SUBNET->nmb_sock;
+ }
+ /***************************************************************************
+@@ -222,7 +222,7 @@
+   packet->ip = to_ip;
+   packet->port = NMB_PORT;
+-  packet->fd = ClientNMB;
++  packet->fd = FIRST_SUBNET->nmb_sock;
+   packet->timestamp = time(NULL);
+   packet->packet_type = NMB_PACKET;
+   packet->locked = False;
This page took 0.036071 seconds and 4 git commands to generate.