Thread (3 messages) 3 messages, 3 authors, 2003-05-18

[PATCH][IPV6] compile fix for net/ipv6/route.c in current bk

flat view
STALE8569d

From: James Morris <hidden>
Date: 2003-05-18 02:29:53

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
[off-list ref]
--- 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,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help