Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ip/ip6_if.c
          +++ new/usr/src/uts/common/inet/ip/ip6_if.c
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  #include <inet/ip_rts.h>
  63   63  #include <inet/ip_ndp.h>
  64   64  #include <inet/ip_if.h>
  65   65  #include <inet/ip6_asp.h>
  66   66  #include <inet/ipclassifier.h>
  67   67  #include <inet/sctp_ip.h>
  68   68  
  69   69  #include <sys/tsol/tndb.h>
  70   70  #include <sys/tsol/tnet.h>
  71   71  
  72      -static in6_addr_t       ipv6_ll_template =
  73      -                        {(uint32_t)V6_LINKLOCAL, 0x0, 0x0, 0x0};
       72 +static in6_addr_t       ipv6_ll_template = {
       73 +                        {{(uint32_t)V6_LINKLOCAL, 0x0, 0x0, 0x0}}};
  74   74  
  75   75  static ipif_t *
  76   76  ipif_lookup_interface_v6(const in6_addr_t *if_addr, const in6_addr_t *dst,
  77   77      ip_stack_t *ipst);
  78   78  
  79   79  static int      ipif_add_ires_v6(ipif_t *, boolean_t);
  80   80  
  81   81  /*
  82   82   * This function is called when an application does not specify an interface
  83   83   * to be used for multicast traffic.  It calls ire_lookup_multi_v6() to look
↓ open down ↓ 2808 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX