summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 919edb8)
raw | patch | inline | side by side (parent: 919edb8)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 15 Jan 2007 18:33:15 +0000 (19:33 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 15 Jan 2007 18:33:15 +0000 (19:33 +0100) |
src/load.c | patch | blob | history | |
src/traffic.c | patch | blob | history |
diff --git a/src/load.c b/src/load.c
index 3e60a43c021c423bcfdc4502cd979ea071c1fe59..491a985e432c1752a504f9f953808741c93ad76a 100644 (file)
--- a/src/load.c
+++ b/src/load.c
*
* 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; either version 2 of the License, or (at your
- * option) any later version.
+ * Free Software Foundation; only version 2 of the License is applicable.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/src/traffic.c b/src/traffic.c
index 5c5e4f74efd7ccae34180706c7dd7f4456a655b2..a7b70c5875a6d3946964b5896013437da3afa437 100644 (file)
--- a/src/traffic.c
+++ b/src/traffic.c
*
* 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; either version 2 of the License, or (at your
- * option) any later version.
+ * Free Software Foundation; only version 2 of the License is applicable.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
# include <ifaddrs.h>
#endif
-#define MODULE_NAME "traffic"
-
/*
* Various people have reported problems with `getifaddrs' and varying versions
* of `glibc'. That's why it's disabled by default. Since more statistics are
# define TRAFFIC_HAVE_READ 0
#endif
-#define BUFSIZE 512
-
/*
* (Module-)Global variables
*/
plugin_register_read ("interface", traffic_read);
#endif
}
-
-#undef BUFSIZE
-#undef MODULE_NAME