Update the address of the Free Software Foundation in all copyright headers.
[tinc] / src / route.c
index d748db1..a200983 100644 (file)
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
 
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-    $Id$
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
 #include "system.h"
@@ -769,13 +767,12 @@ static void route_mac(node_t *source, vpn_packet_t *packet)
                        } else {
                                fragment_ipv4_packet(via, packet);
                        }
+                       return;
                } else if(type == ETH_P_IPV6) {
                        packet->len = via->mtu;
                        route_ipv6_unreachable(source, packet, ICMP6_PACKET_TOO_BIG, 0);
-               } else
-                       ifdebug(TRAFFIC) logger(LOG_INFO, _("Large packet of unhandled type %hx dropped"), type);
-
-               return;
+                       return;
+               }
        }
 
        send_packet(subnet->owner, packet);