diff options
author | ume <ume@FreeBSD.org> | 2003-11-14 17:16:12 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-11-14 17:16:12 +0000 |
commit | aa599c4b2add84a1d006f80b28347458b442c0e2 (patch) | |
tree | f48536d265a33a298ab5ec4c2d54877de80c2008 /usr.sbin/route6d | |
parent | 5b31c306342f5e7517b2c907e4c67c50bb00a101 (diff) | |
download | FreeBSD-src-aa599c4b2add84a1d006f80b28347458b442c0e2.zip FreeBSD-src-aa599c4b2add84a1d006f80b28347458b442c0e2.tar.gz |
- interface minimum MTU = 1280 in IPv6.
- simplify.
Obtained from: KAME
Diffstat (limited to 'usr.sbin/route6d')
-rw-r--r-- | usr.sbin/route6d/route6d.h | 11 |
1 files changed, 3 insertions, 8 deletions
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 |