netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk
@ 2003-05-18  2:29 James Morris
  2003-05-18  3:02 ` Arnaldo Carvalho de Melo
  2003-05-18  5:13 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: James Morris @ 2003-05-18  2:29 UTC (permalink / raw)
  To: David S. Miller
  Cc: YOSHIFUJI Hideaki / 吉藤英明, kuznet,
	netdev

This version of the ip6_null_entry initializer is needed for complation to 
succeed with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110).


- James
-- 
James Morris
<jmorris@intercode.com.au>

--- bk.pending/net/ipv6/route.c	Sun May 18 11:51:40 2003
+++ bk.w1/net/ipv6/route.c	Sun May 18 13:26:28 2003
@@ -108,7 +108,7 @@
 			.dev		= &loopback_dev,
 			.obsolete	= -1,
 			.error		= -ENETUNREACH,
-			.metrics[RTAX_HOPLIMIT-1] = 255,
+			.metrics	= {[RTAX_HOPLIMIT-1] = 255},
 			.input		= ip6_pkt_discard,
 			.output		= ip6_pkt_discard,
 			.ops		= &ip6_dst_ops,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-18  5:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18  2:29 [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk James Morris
2003-05-18  3:02 ` Arnaldo Carvalho de Melo
2003-05-18  5:13 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).