Remove all unnecessary status.meta and status.active checks.
[tinc] / src / meta.c
index 3fadb0d..e4ebb42 100644 (file)
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: meta.c,v 1.1.2.18 2001/05/25 11:54:28 guus Exp $
+    $Id: meta.c,v 1.1.2.20 2001/07/20 13:54:19 guus Exp $
 */
 
 #include "config.h"
 /* This line must be below the rest for FreeBSD */
 #include <sys/socket.h>
 
-#ifdef HAVE_OPENSSL_EVP_H
-# include <openssl/evp.h>
-#else
-# include <evp.h>
-#endif
+#include <openssl/evp.h>
 
 #include "net.h"
 #include "connection.h"
@@ -79,7 +75,7 @@ cp
   for(node = connection_tree->head; node; node = node->next)
     {
       p = (connection_t *)node->data;
-      if(p != cl && p->status.meta && p->status.active)
+      if(p != cl && p->status.active)
         send_meta(p, buffer, length);
     }
 cp