include $(TOPDIR)/rules.mk
PKG_NAME:=vnstat2
-PKG_VERSION:=2.9
+PKG_VERSION:=2.10
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=vnstat-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://humdi.net/vnstat
-PKG_HASH:=11a21475dea91706500aba7c63e24126703fd01f13b1f3acdf92baa5aead9dc7
+PKG_HASH:=a9c61744e5cd8c366e2db4d282badc74021ddb614bd65b41240937997e457d25
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
s->initdb = 0;
s->iflisthash = 0;
s->cfgfile[0] = '\0';
-@@ -282,6 +283,9 @@ void preparedatabase(DSTATE *s)
+@@ -285,6 +286,9 @@ void preparedatabase(DSTATE *s)
}
if (s->noadd) {
printf("No interfaces found in database, exiting.\n");
exit(EXIT_FAILURE);
}
-@@ -300,6 +304,9 @@ void preparedatabase(DSTATE *s)
+@@ -303,6 +307,9 @@ void preparedatabase(DSTATE *s)
}
if (!addinterfaces(s) && s->dbifcount == 0) {