]> www.tinc-vpn.org Git - tinc/blobdiff - src/net_packet.c
Split event.c into per-API files
[tinc] / src / net_packet.c
index d171fec67b12fa1faee2e141b432ff883310a7b1..6fea959fc841379368de187183f5725686718214 100644 (file)
@@ -53,6 +53,7 @@
 #include "protocol.h"
 #include "route.h"
 #include "utils.h"
+#include "random.h"
 
 /* The minimum size of a probe is 14 bytes, but since we normally use CBC mode
    encryption, we can add a few extra random bytes without increasing the
@@ -1642,6 +1643,7 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
 
                break;
 
+       case BMODE_NONE:
        default:
                break;
        }