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

Diff for /src/usr.bin/systat/pftop.c between version 1.22 and 1.23

version 1.22, 2014/01/19 23:45:34 version 1.23, 2014/02/11 01:07:21
Line 1646 
Line 1646 
   
         /* if a new set is found, start over */          /* if a new set is found, start over */
         if (pq.ticket != last_ticket)          if (pq.ticket != last_ticket)
                 while ((node = TAILQ_FIRST(&qnodes)) != NULL)                  while ((node = TAILQ_FIRST(&qnodes)) != NULL) {
                         TAILQ_REMOVE(&qnodes, node, entries);                          TAILQ_REMOVE(&qnodes, node, entries);
                           free(node);
                   }
         last_ticket = pq.ticket;          last_ticket = pq.ticket;
   
         num_queues = mnr = pq.nr;          num_queues = mnr = pq.nr;
Line 1810 
Line 1812 
         if (pfctl_update_altqstats(&altq_root, &inserts))          if (pfctl_update_altqstats(&altq_root, &inserts))
                 return (-1);                  return (-1);
   
         while ((node = TAILQ_FIRST(&qnodes)) != NULL)          while ((node = TAILQ_FIRST(&qnodes)) != NULL) {
                 TAILQ_REMOVE(&qnodes, node, entries);                  TAILQ_REMOVE(&qnodes, node, entries);
                   free(node);
           }
         if (pfctl_update_qstats() < 0)          if (pfctl_update_qstats() < 0)
                 return (-1);                  return (-1);
   

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23