date and time created 81/11/29 22:19:36 by wnj
[unix-history] / usr / src / sys / netinet / in_pcb.c
index c9f1585..f41c868 100644 (file)
@@ -1,4 +1,4 @@
-/* in_pcb.c 4.9 81/11/26 */
+/* in_pcb.c 4.10 81/11/29 */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -37,7 +37,7 @@ in_pcballoc(so, head, sndcc, rcvcc, sin)
                lport = sin->sin_port;
                if (lport) {
                        xp = head->inp_next;
                lport = sin->sin_port;
                if (lport) {
                        xp = head->inp_next;
-                       for (; xp != head; xp = inp->inp_next) 
+                       for (; xp != head; xp = xp->inp_next) 
                                if (xp->inp_laddr.s_addr ==
                                    sin->sin_addr.s_addr &&
                                    xp->inp_lport == lport &&
                                if (xp->inp_laddr.s_addr ==
                                    sin->sin_addr.s_addr &&
                                    xp->inp_lport == lport &&