1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #8728 from cgundogan/pr/ccnl_fix

pkg: ccn-lite: minor changes to integrate latest ccn-lite features
This commit is contained in:
Martine Lenders 2018-03-05 21:52:17 +01:00 committed by GitHub
commit 0b8a467e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PKG_NAME=ccn-lite
PKG_URL=https://github.com/cn-uofbasel/ccn-lite/
PKG_VERSION=8b17f2b43f337242dce3175efd95f5439cf4a4f5
PKG_VERSION=dbf3e1a8935cfc4b6bcfa1a5baa477553ffdafec
PKG_LICENSE=ISC
.PHONY: all
@ -8,7 +8,7 @@ PKG_LICENSE=ISC
export RIOT_CFLAGS = ${CFLAGS} ${INCLUDES}
all: git-download
cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" . && make
cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" -DBUILD_TESTING=OFF . && make
cp $(PKG_BUILDDIR)/src/lib/libccnl-riot.a ${BINDIR}/ccn-lite.a
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -207,7 +207,7 @@ int _ccnl_interest(int argc, char **argv)
memset(_int_buf, '\0', BUF_SIZE);
struct ccnl_prefix_s *prefix = ccnl_URItoPrefix(argv[1], CCNL_SUITE_NDNTLV, NULL, 0);
int res = ccnl_send_interest(prefix, _int_buf, BUF_SIZE);
int res = ccnl_send_interest(prefix, _int_buf, BUF_SIZE, NULL);
ccnl_prefix_free(prefix);
return res;