From aa599c4b2add84a1d006f80b28347458b442c0e2 Mon Sep 17 00:00:00 2001 From: ume Date: Fri, 14 Nov 2003 17:16:12 +0000 Subject: - interface minimum MTU = 1280 in IPv6. - simplify. Obtained from: KAME --- usr.sbin/route6d/route6d.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/route6d/route6d.h b/usr.sbin/route6d/route6d.h index a52a971..49a7d5a 100644 --- a/usr.sbin/route6d/route6d.h +++ b/usr.sbin/route6d/route6d.h @@ -1,5 +1,5 @@ /* $FreeBSD$ */ -/* $KAME: route6d.h,v 1.4 2001/01/15 03:50:54 inoue Exp $ */ +/* $KAME: route6d.h,v 1.8 2003/05/28 09:11:13 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -51,19 +51,14 @@ struct rip6 { u_char rip6_cmd; u_char rip6_vers; u_char rip6_res1[2]; - union { - struct netinfo6 ru6_nets[1]; - char ru6_tracefile[1]; - } rip6un; -#define rip6_nets rip6un.ru6_nets -#define rip6_tracefile rip6un.ru6_tracefile + struct netinfo6 rip6_nets[1]; }; #define HOPCNT_INFINITY6 16 #define NEXTHOP_METRIC 0xff #define RIP6_MAXMTU 1500 -#define IFMINMTU 576 +#define IFMINMTU 1280 #ifndef DEBUG #define SUPPLY_INTERVAL6 30 -- cgit v1.1