From e8606c8cc2d192955683d64441de2858bb9d7157 Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Thu, 4 Jun 2009 10:51:13 +0400 Subject: [PATCH] HWMP attributes uinteger -> boolean fix --- src/devices/mesh/dot11s/hwmp-protocol.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/mesh/dot11s/hwmp-protocol.cc b/src/devices/mesh/dot11s/hwmp-protocol.cc index ec38f480b..9508ad6bc 100644 --- a/src/devices/mesh/dot11s/hwmp-protocol.cc +++ b/src/devices/mesh/dot11s/hwmp-protocol.cc @@ -133,14 +133,14 @@ HwmpProtocol::GetTypeId () .AddAttribute ("doFlag", "Destination only HWMP flag", BooleanValue (false), - MakeUintegerAccessor (&HwmpProtocol::m_doFlag), - MakeUintegerChecker () + MakeBooleanAccessor (&HwmpProtocol::m_doFlag), + MakeBooleanChecker () ) .AddAttribute ("rfFlag", "Reply and forward flag", BooleanValue (true), - MakeUintegerAccessor (&HwmpProtocol::m_rfFlag), - MakeUintegerChecker () + MakeBooleanAccessor (&HwmpProtocol::m_rfFlag), + MakeBooleanChecker () ); return tid; }