core: NetworkInterfacePredicate accepts ndn::net::NetworkInterface
refs #4021
Change-Id: I6612a67db03b6651e8fbccad91f776ae502283d9
diff --git a/core/network-interface-predicate.hpp b/core/network-interface-predicate.hpp
index f48da05..2443735 100644
--- a/core/network-interface-predicate.hpp
+++ b/core/network-interface-predicate.hpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
@@ -27,6 +27,7 @@
#define NFD_CORE_NETWORK_INTERFACE_PREDICATE_HPP
#include "common.hpp"
+#include <ndn-cxx/net/network-interface.hpp>
namespace nfd {
@@ -62,6 +63,9 @@
operator()(const NetworkInterfaceInfo& netif) const;
bool
+ operator()(const ndn::net::NetworkInterface& netif) const;
+
+ bool
operator==(const NetworkInterfacePredicate& other) const;
bool