Print this page
%B

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ipadm.c
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ipadm.c
↓ open down ↓ 625 lines elided ↑ open up ↑
 626  626           * stop the walker.
 627  627           */
 628  628          if (statep->sps_status == IPADM_NOTFOUND ||
 629  629              statep->sps_status == IPADM_NOTSUP)
 630  630                  return (_B_FALSE);
 631  631          return (_B_TRUE);
 632  632  }
 633  633  
 634  634  /*
 635  635   * Properties to be displayed is in `statep->sps_proplist'. If it is NULL,
 636      - * for all the properties for the specified object, relavant information, will
      636 + * for all the properties for the specified object, relevant information, will
 637  637   * be displayed. Otherwise, for the selected property set, display relevant
 638  638   * information
 639  639   */
 640  640  static void
 641  641  show_properties(void *arg, int prop_class)
 642  642  {
 643  643          show_prop_state_t       *statep = arg;
 644  644          nvlist_t                *nvl = statep->sps_proplist;
 645  645          uint_t                  proto = statep->sps_proto;
 646  646          nvpair_t                *curr_nvp;
↓ open down ↓ 201 lines elided ↑ open up ↑
 848  848  }
 849  849  
 850  850  static void
 851  851  do_reset_ifprop(int argc, char **argv, const char *use)
 852  852  {
 853  853          set_ifprop(argc, argv, _B_TRUE, use);
 854  854  }
 855  855  
 856  856  /*
 857  857   * Display information for all or specific protocol properties, either for a
 858      - * given protocol or for supported protocols (IP/IPv4/IPv6/TCP/UDP/SCTP)
      858 + * given protocol or for supported protocols (IP/IPv4/IPv6/TCP/UDP/SCTP/DCCP)
 859  859   */
 860  860  static void
 861  861  do_show_prop(int argc, char **argv, const char *use)
 862  862  {
 863  863          char                    option;
 864  864          nvlist_t                *proplist = NULL;
 865  865          char                    *fields_str = NULL;
 866  866          char                    *protostr;
 867  867          show_prop_state_t       state;
 868  868          ofmt_handle_t           ofmt;
↓ open down ↓ 1353 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX