pfctl - Fix pf_print_state
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Jun 2014 02:19:30 +0000 (19:19 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Jun 2014 02:19:30 +0000 (19:19 -0700)
commitf535a12d7e92e810aa48cd1a9a64b509accdf416
tree3d3634c67a8163aa6881f24504af4c81f5468d94
parent76b9c2bc27d242381595c80d38ef620f427f99f3
pfctl - Fix pf_print_state

* Fix a bug where the 'minutes' field in the expiration was not being
  calculated properly.

* Reformat the verbose output so it does not overflow 80 columns, and
  move the rule # printing up a little so it is not confusedly associated
  with the next entry.
usr.sbin/pfctl/pf_print_state.c