Prevent a MITM from forcing a NULL cipher for UDP (CVE-2018-16758)
[oweals/tinc.git] / doc / sample-config / tinc-down
index 9f3b499d78f252a8f90a2a021d22d3a11a5a01d0..65b049e2fdf78fca16c9df4bf3335db98f473c89 100644 (file)
@@ -1,7 +1,4 @@
 #!/bin/sh
 # This file closes down the tap device.
-# Note that if you use the universal tun/tap driver, you don't
-# need to do anything; once tinc quits the tap device is already
-# removed by the kernel.
 
-ifconfig tap0 down
+ifconfig $INTERFACE down