]> the.earth.li Git - onak.git/blobdiff - keydctl.c
Add ability to drop overly large packets
[onak.git] / keydctl.c
index 1aa5d59e4ccfe09dbe2bbc36baac9315bf54b163..a2b312ca985d9f274f4858ebccba6dc239e8b96c 100644 (file)
--- a/keydctl.c
+++ b/keydctl.c
@@ -13,8 +13,7 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #include <errno.h>
@@ -175,10 +174,14 @@ static void keyd_status(void)
                stats.command_stats[KEYD_CMD_GET_ID]);
        printf("  Get key by FP:    %d\n",
                stats.command_stats[KEYD_CMD_GET_FP]);
+       printf("  Get key by hash:  %d\n",
+               stats.command_stats[KEYD_CMD_GET_SKSHASH]);
        printf("  Store key:        %d\n",
                stats.command_stats[KEYD_CMD_STORE]);
        printf("  Delete key:       %d\n",
                stats.command_stats[KEYD_CMD_DELETE]);
+       printf("  Update key:       %d\n",
+               stats.command_stats[KEYD_CMD_UPDATE]);
        printf("  Search key:       %d\n",
                stats.command_stats[KEYD_CMD_GET_TEXT]);
        printf("  Get full keyid:   %d\n",