[BACK]Return to route.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / netstat

Diff for /src/usr.bin/netstat/route.c between version 1.87 and 1.88

version 1.87, 2009/08/04 03:45:47 version 1.88, 2011/04/06 11:36:26
Line 102 
Line 102 
   
         printf("Routing tables\n");          printf("Routing tables\n");
   
         if (rtree == NULL || af2idx == NULL) {          if (rtree == 0 || af2idx == 0) {
                 printf("rt_tables: symbol not in namelist\n");                  printf("rt_tables: symbol not in namelist\n");
                 return;                  return;
         }          }
Line 138 
Line 138 
                         }                          }
                         continue;                          continue;
                 }                  }
                 if (af2rtafidx[i] == NULL)                  if (af2rtafidx[i] == 0)
                         /* no table for this AF */                          /* no table for this AF */
                         continue;                          continue;
                 if ((rnh = rt_tables[af2rtafidx[i]]) == NULL)                  if ((rnh = rt_tables[af2rtafidx[i]]) == NULL)

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88