jni: Enable localhop_rib security, so self-learning can register in RIB
Disclaimer: this is a temporary solution and be replace with the proper
trust management inside NDN android app later.
Change-Id: Ifdf40a3ed4b86cbbafe34a153818c1b814275ba7
diff --git a/app/build.gradle b/app/build.gradle
index 3b23efb..ded2c24 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,8 +9,8 @@
applicationId "net.named_data.nfd"
minSdkVersion 23
targetSdkVersion 26
- versionCode 4010
- versionName "0.6.5-1 (NFD 0.6.5)"
+ versionCode 4011
+ versionName "0.6.5-2 (NFD 0.6.5)"
multiDexEnabled true
}
compileOptions {
diff --git a/app/src/main/jni/nfd-wrapper.cpp b/app/src/main/jni/nfd-wrapper.cpp
index cc56ea0..9977083 100644
--- a/app/src/main/jni/nfd-wrapper.cpp
+++ b/app/src/main/jni/nfd-wrapper.cpp
@@ -102,13 +102,13 @@
type any
}
}
- ; localhop_security
- ; {
- ; trust-anchor
- ; {
- ; type any
- ; }
- ; }
+ localhop_security
+ {
+ trust-anchor
+ {
+ type any
+ }
+ }
auto_prefix_propagate
{
refresh_interval 300