aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-08-26 09:21:52 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-08-26 23:34:14 +0200
commit4b3ffecf2bbbfb8df618314e5bec52659b648fac (patch)
tree8c796fe38b4495d433dba46dd6cc1f9b11c4904e /package/network
parent589621b1c03c25e6436d30aaa508aef2484244a6 (diff)
downloadupstream-4b3ffecf2bbbfb8df618314e5bec52659b648fac.tar.gz
upstream-4b3ffecf2bbbfb8df618314e5bec52659b648fac.tar.bz2
upstream-4b3ffecf2bbbfb8df618314e5bec52659b648fac.zip
map: fix boolean argument passed to blobmsg_check_attr in mapcalc
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/ipv6/map/Makefile2
-rw-r--r--package/network/ipv6/map/src/mapcalc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/ipv6/map/Makefile b/package/network/ipv6/map/Makefile
index 203e6dc509..c4f62a9d17 100644
--- a/package/network/ipv6/map/Makefile
+++ b/package/network/ipv6/map/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=map
PKG_VERSION:=4
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/ipv6/map/src/mapcalc.c b/package/network/ipv6/map/src/mapcalc.c
index 648840d9b6..6233bce731 100644
--- a/package/network/ipv6/map/src/mapcalc.c
+++ b/package/network/ipv6/map/src/mapcalc.c
@@ -118,7 +118,7 @@ static void match_prefix(int *pdlen, struct in6_addr *pd, struct blob_attr *cur,
struct blob_attr *d;
unsigned drem;
- if (!cur || blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, NULL))
+ if (!cur || blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, false))
return;
blobmsg_for_each_attr(d, cur, drem) {