Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/rpaulo-netinet-merge-pcb]: src/sys/netinet6 Last in6pcb in in6_selecthli...
details: https://anonhg.NetBSD.org/src/rev/8682215b3fa3
branches: rpaulo-netinet-merge-pcb
changeset: 587667:8682215b3fa3
user: rpaulo <rpaulo%NetBSD.org@localhost>
date: Thu Feb 23 16:11:13 2006 +0000
description:
Last in6pcb in in6_selecthlim().
diffstat:
sys/netinet6/in6_src.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 651d32c58a77 -r 8682215b3fa3 sys/netinet6/in6_src.c
--- a/sys/netinet6/in6_src.c Thu Feb 23 16:09:01 2006 +0000
+++ b/sys/netinet6/in6_src.c Thu Feb 23 16:11:13 2006 +0000
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_src.c,v 1.23.2.2 2006/02/14 02:23:24 rpaulo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_src.c,v 1.23.2.3 2006/02/23 16:11:13 rpaulo Exp $");
#include "opt_inet.h"
@@ -864,12 +864,12 @@
* 3. The system default hoplimit.
*/
int
-in6_selecthlim(in6p, ifp)
- struct in6pcb *in6p;
+in6_selecthlim(inp, ifp)
+ struct inpcb *inp;
struct ifnet *ifp;
{
- if (in6p && in6p->in6p_hops >= 0)
- return (in6p->in6p_hops);
+ if (inp && inp->in6p_hops >= 0)
+ return (inp->in6p_hops);
else if (ifp)
return (ND_IFINFO(ifp)->chlim);
else
Home |
Main Index |
Thread Index |
Old Index