summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2016-07-08 01:42:47 +0200
committerChristian Pointner <equinox@anytun.org>2016-07-08 01:42:47 +0200
commit260037222da092acd7bfbd7a1a7280d2615e10f1 (patch)
treefc6a5613efe0be25aca513815d3225851204425a
parentadded some more deps to systemd units (diff)
fixe gcrypt warning for anytun-showtables as well
-rw-r--r--src/anytun-showtables.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/anytun-showtables.cpp b/src/anytun-showtables.cpp
index bbfad88..ff9b402 100644
--- a/src/anytun-showtables.cpp
+++ b/src/anytun-showtables.cpp
@@ -53,6 +53,7 @@
#include "routingTable.h"
#include "networkAddress.h"
#include "syncCommand.h"
+#include "cryptinit.hpp"
#include <sstream>
#include <iostream>
@@ -127,8 +128,9 @@ void readAndProcessOne()
int main(int argc, char* argv[])
{
- int ret = 0;
+ initCrypto();
+ int ret = 0;
while(std::cin.good()) {
try {
readAndProcessOne();