[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.177 and 1.178

version 1.177, 2009/04/18 14:58:05 version 1.178, 2009/07/19 23:17:33
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.177  
changed lines
  Added in v.1.178

CVSweb <webmaster@jp.NetBSD.org>