From 1ae525bf0e99a6fbeb85d09a9da025df4e5ff3dc Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 26 Feb 2008 23:27:19 +0100 Subject: [PATCH] use names closer to those used in the previous DefaultValues. --- src/common/error-model.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/error-model.cc b/src/common/error-model.cc index 6a2988c00..274145baa 100644 --- a/src/common/error-model.cc +++ b/src/common/error-model.cc @@ -110,13 +110,13 @@ TypeId RateErrorModel::GetTypeId (void) static TypeId tid = TypeId ("RateErrorModel") .SetParent () .AddConstructor () - .AddAttribute ("Unit", "The error unit", + .AddAttribute ("ErrorUnit", "The error unit", Enum (EU_BYTE), MakeEnumAccessor (&RateErrorModel::m_unit), MakeEnumChecker (EU_BYTE, "EU_BYTE", EU_PKT, "EU_PKT", EU_BIT, "EU_BIT")) - .AddAttribute ("Rate", "The error rate.", + .AddAttribute ("ErrorRate", "The error rate.", Double (0.0), MakeDoubleAccessor (&RateErrorModel::m_rate), MakeDoubleChecker ())