HWMP attributes uinteger -> boolean fix

This commit is contained in:
Pavel Boyko
2009-06-04 10:51:13 +04:00
parent a784a4b2bb
commit e8606c8cc2

View File

@@ -133,14 +133,14 @@ HwmpProtocol::GetTypeId ()
.AddAttribute ("doFlag",
"Destination only HWMP flag",
BooleanValue (false),
MakeUintegerAccessor (&HwmpProtocol::m_doFlag),
MakeUintegerChecker<bool> ()
MakeBooleanAccessor (&HwmpProtocol::m_doFlag),
MakeBooleanChecker ()
)
.AddAttribute ("rfFlag",
"Reply and forward flag",
BooleanValue (true),
MakeUintegerAccessor (&HwmpProtocol::m_rfFlag),
MakeUintegerChecker<bool> ()
MakeBooleanAccessor (&HwmpProtocol::m_rfFlag),
MakeBooleanChecker ()
);
return tid;
}