--- a/samples/main-propagation-loss.cc Thu Sep 11 09:54:19 2008 -0700
+++ b/samples/main-propagation-loss.cc Thu Sep 11 10:08:18 2008 -0700
@@ -51,8 +51,8 @@
int main (int argc, char *argv[])
{
- Config::SetGlobal ("LogDistancePropagationLossModel::ReferenceDistance", StringValue ("1.0"));
- Config::SetGlobal ("LogDistancePropagationLossModel::Exponent", StringValue ("4"));
+ Config::SetDefault ("ns3::LogDistancePropagationLossModel::ReferenceDistance", StringValue ("1.0"));
+ Config::SetDefault ("ns3::LogDistancePropagationLossModel::Exponent", StringValue ("4"));
PrintOne (-10, 20, 5, 0, 10000, 2);