Upgrade the underlying NFD to version 0.5.0
Change-Id: I61eb240cb982eb5e675a63aece0c373290c59129
Refs: #3839
diff --git a/app/src/main/jni/nfd-wrapper.cpp b/app/src/main/jni/nfd-wrapper.cpp
index 8bf6379..90e19ed 100644
--- a/app/src/main/jni/nfd-wrapper.cpp
+++ b/app/src/main/jni/nfd-wrapper.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2015 Regents of the University of California
+ * Copyright (c) 2015-2016 Regents of the University of California
*
* This file is part of NFD (Named Data Networking Forwarding Daemon) Android.
* See AUTHORS.md for complete list of NFD Android authors and contributors.
@@ -20,7 +20,7 @@
#include "nfd-wrapper.hpp"
#include "daemon/nfd.hpp"
-#include "rib/nrd.hpp"
+#include "rib/service.hpp"
#include "core/global-io.hpp"
#include "core/config-file.hpp"
@@ -152,7 +152,7 @@
std::unique_lock<std::mutex> lock(m_pointerMutex);
m_nfd.reset(new Nfd(m_config, m_keyChain));
- m_nrd.reset(new rib::Nrd(m_config, m_keyChain));
+ m_nrd.reset(new rib::Service(m_config, m_keyChain));
m_nfd->initialize();
m_nrd->initialize();
@@ -193,7 +193,7 @@
boost::asio::io_service* m_io;
ndn::KeyChain m_keyChain;
unique_ptr<Nfd> m_nfd; // will use globalIoService
- unique_ptr<rib::Nrd> m_nrd; // will use globalIoService
+ unique_ptr<rib::Service> m_nrd; // will use globalIoService
nfd::ConfigSection m_config;
};