index
:
ptunnel-ng.git
Tunnel TCP connections through ICMP.
log msg
author
committer
range
coverity_scan
feature/libsodium-integration
feature/wireshark-dissector
master
ptunnel-ng/2.0.0
release
removed_extended_options
about
summary
refs
log
tree
commit
diff
path:
root
/
src
/
ptunnel.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'src/ptunnel.c')
-rw-r--r--
src/ptunnel.c
3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ptunnel.c b/src/ptunnel.c
index 4463077..01e0ef5 100644
--- a/
src/ptunnel.c
+++ b/
src/ptunnel.c
@@ -136,6 +136,9 @@ int main(int argc, char *argv[]) {
if (parse_options(argc, argv))
return -1;
+ /* Init ptunnel RNG */
+ pt_random();
+
#ifdef HAVE_PCAP
if (opts.pcap && opts.udp) {
pt_log(kLog_error, "Packet capture is not supported (or needed) when using UDP for transport.\n");