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

Diff for /src/usr.bin/netstat/show.c between version 1.20 and 1.21

version 1.20, 2009/02/06 19:58:31 version 1.21, 2009/04/28 12:09:36
Line 558 
Line 558 
         if (in->sa_family != AF_MPLS)          if (in->sa_family != AF_MPLS)
                 return;                  return;
   
         if (flags & MPLS_OP_POP)          if (flags & MPLS_OP_POP || flags == MPLS_OP_LOCAL)
                 cp = label_print(in, NULL);                  cp = label_print(in, NULL);
         else          else
                 cp = label_print(in, out);                  cp = label_print(in, out);
Line 893 
Line 893 
 label_print_op(u_int32_t type)  label_print_op(u_int32_t type)
 {  {
         switch (type & (MPLS_OP_PUSH | MPLS_OP_POP | MPLS_OP_SWAP)) {          switch (type & (MPLS_OP_PUSH | MPLS_OP_POP | MPLS_OP_SWAP)) {
           case MPLS_OP_LOCAL:
                   return ("LOCAL");
         case MPLS_OP_POP:          case MPLS_OP_POP:
                 return ("POP");                  return ("POP");
         case MPLS_OP_SWAP:          case MPLS_OP_SWAP:

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21