face: use MAX_NDN_PACKET_SIZE constant from ndn-cxx
refs #2099
Change-Id: I46331436e0605f77f6b6ac7b49d50fe1570817b8
diff --git a/daemon/face/websocket-face.cpp b/daemon/face/websocket-face.cpp
index 5c999a1..abd8b3c 100644
--- a/daemon/face/websocket-face.cpp
+++ b/daemon/face/websocket-face.cpp
@@ -21,7 +21,7 @@
*
* You should have received a copy of the GNU General Public License along with
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
- **/
+ */
#include "websocket-face.hpp"
#include "core/global-io.hpp"
@@ -99,7 +99,7 @@
WebSocketFace::handleReceive(const std::string& msg)
{
// Copy message into Face internal buffer
- if (msg.size() > MAX_NDN_PACKET_SIZE)
+ if (msg.size() > ndn::MAX_NDN_PACKET_SIZE)
{
NFD_LOG_WARN("[id:" << this->getId()
<< "] Received WebSocket message size ["