Deleted Added
full compact
ip6_input.c (165118) ip6_input.c (166938)
1/* $FreeBSD: head/sys/netinet6/ip6_input.c 165118 2006-12-12 12:17:58Z bz $ */
1/* $FreeBSD: head/sys/netinet6/ip6_input.c 166938 2007-02-24 11:38:47Z bms $ */
2/* $KAME: ip6_input.c,v 1.259 2002/01/21 04:58:09 jinmei Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 681 unchanged lines hidden (view full) ---

691 /*
692 * If we are acting as a multicast router, all
693 * incoming multicast packets are passed to the
694 * kernel-level multicast forwarding function.
695 * The packet is returned (relatively) intact; if
696 * ip6_mforward() returns a non-zero value, the packet
697 * must be discarded, else it may be accepted below.
698 */
2/* $KAME: ip6_input.c,v 1.259 2002/01/21 04:58:09 jinmei Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 681 unchanged lines hidden (view full) ---

691 /*
692 * If we are acting as a multicast router, all
693 * incoming multicast packets are passed to the
694 * kernel-level multicast forwarding function.
695 * The packet is returned (relatively) intact; if
696 * ip6_mforward() returns a non-zero value, the packet
697 * must be discarded, else it may be accepted below.
698 */
699 if (ip6_mrouter && ip6_mforward(ip6, m->m_pkthdr.rcvif, m)) {
699 if (ip6_mrouter && ip6_mforward &&
700 ip6_mforward(ip6, m->m_pkthdr.rcvif, m)) {
700 ip6stat.ip6s_cantforward++;
701 m_freem(m);
702 return;
703 }
704 if (!ours) {
705 m_freem(m);
706 return;
707 }

--- 880 unchanged lines hidden ---
701 ip6stat.ip6s_cantforward++;
702 m_freem(m);
703 return;
704 }
705 if (!ours) {
706 m_freem(m);
707 return;
708 }

--- 880 unchanged lines hidden ---