]> the.earth.li Git - onak.git/blobdiff - cleanup.c
Add ability to drop overly large packets
[onak.git] / cleanup.c
index ecb33220db942b9c0fa1c84dfc8c80149dfcb700..3fe219fb4c02127a928335a969b1e33745ebe956 100644 (file)
--- a/cleanup.c
+++ b/cleanup.c
@@ -1,18 +1,25 @@
 /*
  * cleanup.c - Cleanup and shutdown framework.
  *
- * Jonathan McDowell <noodles@earth.li>
+ * Copyright 2004 Jonathan McDowell <noodles@earth.li>
  *
- * Copyright 2004 Project Purple
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #include <signal.h>
 #include <stdbool.h>
-#include <stdlib.h>
-#include <string.h>
 
 #include "cleanup.h"
-#include "keydb.h"
 #include "log.h"
 
 static bool should_cleanup = false;