@@ -81,7 +81,7 @@
extern void* ntop_safemalloc(unsigned int sz, char* file, int line);
#define calloc(c,sz) ntop_safecalloc(c, sz, (char*)__FILE__, (int)__LINE__)
--- Makefile.am.orig 2010-10-24 12:01:01.000000000 +0200
-+++ Makefile.am 2011-01-13 22:29:28.917447868 +0100
++++ Makefile.am 2011-01-13 23:03:03.419582538 +0100
@@ -133,8 +133,7 @@
ntop.c pbuf.c database.c \
plugin.c prefs.c protocols.c \
@@ -115,7 +115,7 @@
@echo -n "New file lines are: "
@gunzip -c oui.txt.gz | wc -l
@echo ""
-@@ -405,27 +388,6 @@
+@@ -405,35 +388,6 @@
@echo ""
@echo "Preparing "
@echo ""
@@ -140,6 +140,14 @@
- @wget -O $(ETTER_PASSIVE_FILE) \
- $(ETTER_PASSIVE_DOWNLOAD_FROM)/$(ETTER_PASSIVE_FILE)?$(ETTER_PASSIVE_DOWNLOAD_PARMS)
- @echo ""
- @echo "gziping downloaded file..."
- @gzip $(ETTER_PASSIVE_FILE)
+- @echo "gziping downloaded file..."
+- @gzip $(ETTER_PASSIVE_FILE)
+- @echo ""
+- @echo ""
+- @if test -f $(ETTER_PASSIVE).old; then \
+- echo -n "Old file lines were: "; \
+- gunzip -c $(ETTER_PASSIVE).old | wc -l; \
+- fi;
+ @echo -n "New file lines are: "
+ @gunzip -c $(ETTER_PASSIVE) | wc -l
@echo ""
|