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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/main.c
          +++ new/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/main.c
↓ open down ↓ 1934 lines elided ↑ open up ↑
1935 1935          /* Signal for poll loop */
1936 1936          sig_handler(255);
1937 1937  }
1938 1938  
1939 1939  /*
1940 1940   * Dequeue and process all queued advertisements.
1941 1941   */
1942 1942  static void
1943 1943  loopback_ra_dequeue(void)
1944 1944  {
1945      -        struct sockaddr_in6 from = IN6ADDR_LOOPBACK_INIT;
     1945 +        struct sockaddr_in6 from = { 0, 0, 0, IN6ADDR_LOOPBACK_INIT };
1946 1946          struct raq *raq;
1947 1947  
1948 1948          if (debug & D_PKTIN)
1949 1949                  logmsg(LOG_DEBUG, "loopback_ra_dequeue()\n");
1950 1950  
1951 1951          while ((raq = raq_head) != NULL) {
1952 1952                  raq_head = raq->raq_next;
1953 1953                  raq->raq_next = NULL;
1954 1954  
1955 1955                  if (debug & D_PKTIN) {
↓ open down ↓ 631 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX