[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.5 and 1.6

version 1.5, 1993/12/18 00:42:15 version 1.6, 1994/01/08 21:22:06
Line 164  udp_input(m, iphlen)
Line 164  udp_input(m, iphlen)
                  * compatibility we avoid the problem here rather than                   * compatibility we avoid the problem here rather than
                  * fixing the interface.  Maybe 4.4BSD will remedy this?)                   * fixing the interface.  Maybe 4.4BSD will remedy this?)
                  */                   */
   
                 /*                  /*
                  * Construct sockaddr format source address.                   * Construct sockaddr format source address.
                  */                   */
Line 186  udp_input(m, iphlen)
Line 185  udp_input(m, iphlen)
                                         continue;                                          continue;
                         }                          }
                         if (inp->inp_faddr.s_addr != INADDR_ANY) {                          if (inp->inp_faddr.s_addr != INADDR_ANY) {
                                 if (inp->inp_faddr.s_addr !=                                  if (inp->inp_faddr.s_addr !=
                                     ip->ip_src.s_addr ||                                      ip->ip_src.s_addr ||
                                     inp->inp_fport != uh->uh_sport)                                      inp->inp_fport != uh->uh_sport)
                                         continue;                                          continue;
Line 216  udp_input(m, iphlen)
Line 215  udp_input(m, iphlen)
                         if ((last->so_options & SO_REUSEADDR) == 0)                          if ((last->so_options & SO_REUSEADDR) == 0)
                                 break;                                  break;
                 }                  }
   
                 if (last == NULL) {                  if (last == NULL) {
                         /*                          /*
                          * No matching pcb found; discard datagram.                           * No matching pcb found; discard datagram.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>