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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ip/ip_if.c
          +++ new/usr/src/uts/common/inet/ip/ip_if.c
↓ open down ↓ 14541 lines elided ↑ open up ↑
14542 14542  }
14543 14543  
14544 14544  /*
14545 14545   * Add any IREs tied to the ill. For now this is just an IRE_MULTICAST.
14546 14546   * The identical set of IREs need to be removed in ill_delete_ires().
14547 14547   */
14548 14548  int
14549 14549  ill_add_ires(ill_t *ill)
14550 14550  {
14551 14551          ire_t   *ire;
14552      -        in6_addr_t dummy6 = {(uint32_t)V6_MCAST, 0, 0, 1};
     14552 +        in6_addr_t dummy6 = {{{(uint32_t)V6_MCAST, 0, 0, 1}}};
14553 14553          in_addr_t dummy4 = htonl(INADDR_ALLHOSTS_GROUP);
14554 14554  
14555 14555          if (ill->ill_ire_multicast != NULL)
14556 14556                  return (0);
14557 14557  
14558 14558          /*
14559 14559           * provide some dummy ire_addr for creating the ire.
14560 14560           */
14561 14561          if (ill->ill_isv6) {
14562 14562                  ire = ire_create_v6(&dummy6, 0, 0, IRE_MULTICAST, ill,
↓ open down ↓ 4577 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX