samples/main-propagation-loss.cc
changeset 3680 ff830e19eced
parent 2965 4b28e9740e3b
child 3909 4e7e594b0b7e
--- 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);