Received: with ECARTIS (v1.0.0; list netdev); Sat, 17 May 2003 19:30:50 -0700 (PDT) Received: from blackbird.intercode.com.au (IDENT:+VHaKBvdAmLInFZT+/uiAMWX7eHQLqbT@blackbird.intercode.com.au [203.32.101.10]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4I2Ug2x019358 for ; Sat, 17 May 2003 19:30:44 -0700 Received: from excalibur.intercode.com.au (excalibur.intercode.com.au [203.32.101.12]) by blackbird.intercode.com.au (8.11.6p2/8.9.3) with ESMTP id h4I2Trr20864; Sun, 18 May 2003 12:29:54 +1000 Date: Sun, 18 May 2003 12:29:53 +1000 (EST) From: James Morris To: "David S. Miller" cc: =?iso-2022-jp?Q?YOSHIFUJI_Hideaki_=2F_=1B$B5HF#1QL=40=1B=28B?= , , Subject: [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 2562 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: jmorris@intercode.com.au Precedence: bulk X-list: 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 --- 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,