[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.174.2.1 and 1.174.2.2

version 1.174.2.1, 2009/05/13 17:22:28 version 1.174.2.2, 2009/07/23 23:32:48
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.174.2.1  
changed lines
  Added in v.1.174.2.2

CVSweb <webmaster@jp.NetBSD.org>