]> www.tinc-vpn.org Git - tinc/blobdiff - src/dummy_device.c
Add colors to tincd logger
[tinc] / src / dummy_device.c
index 80232e1edee976ff70e13dda524ceac0a82fc98e..94c71ea0ca973de71577206476921cee8f5a0259 100644 (file)
@@ -34,13 +34,19 @@ static bool setup_device(void) {
 }
 
 static void close_device(void) {
+       free(iface);
+       iface = NULL;
+       free(device);
+       device = NULL;
 }
 
 static bool read_packet(vpn_packet_t *packet) {
+       (void)packet;
        return false;
 }
 
 static bool write_packet(vpn_packet_t *packet) {
+       (void)packet;
        return true;
 }