[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.171.2.2 and 1.171.2.3

version 1.171.2.2, 2009/05/04 08:14:18 version 1.171.2.3, 2009/08/19 18:48:25
Line 836  udp4_realinput(struct sockaddr_in *src, 
Line 836  udp4_realinput(struct sockaddr_in *src, 
                 }                  }
 #endif  #endif
   
                   /*
                    * Check the minimum TTL for socket.
                    */
                   if (mtod(m, struct ip *)->ip_ttl < inp->inp_ip_minttl)
                           goto bad;
   
                 udp4_sendup(m, off, (struct sockaddr *)src, inp->inp_socket);                  udp4_sendup(m, off, (struct sockaddr *)src, inp->inp_socket);
                 rcvcnt++;                  rcvcnt++;
         }          }

Legend:
Removed from v.1.171.2.2  
changed lines
  Added in v.1.171.2.3

CVSweb <webmaster@jp.NetBSD.org>