[BACK]Return to npf_show.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.sbin / npf / npfctl

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.sbin/npf/npfctl/npf_show.c between version 1.4 and 1.5

version 1.4, 2013/11/12 00:46:34 version 1.5, 2013/11/19 00:28:41
Line 420  npfctl_print_table(npf_conf_info_t *ctx,
Line 420  npfctl_print_table(npf_conf_info_t *ctx,
         const char *name = npf_table_getname(tl);          const char *name = npf_table_getname(tl);
         const int type = npf_table_gettype(tl);          const int type = npf_table_gettype(tl);
   
           if (name[0] == '.') {
                   /* Internal tables use dot and are hidden. */
                   return;
           }
   
         fprintf(ctx->fp, "table <%s> type %s\n", name,          fprintf(ctx->fp, "table <%s> type %s\n", name,
             (type == NPF_TABLE_HASH) ? "hash" :              (type == NPF_TABLE_HASH) ? "hash" :
             (type == NPF_TABLE_TREE) ? "tree" :              (type == NPF_TABLE_TREE) ? "tree" :

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>