Correcting type information
authorRichard Whitehouse <github@richardwhiuk.com>
Sat, 16 Apr 2011 00:41:28 +0000 (01:41 +0100)
committerRichard Whitehouse <github@richardwhiuk.com>
Sat, 16 Apr 2011 00:41:28 +0000 (01:41 +0100)
src/devices/bridge/model/bridge-net-device.cc

index 83a71226ab3c9042a9c0e818f47ff3b0c233a978..167945f2a5dfc85ac14ebb5163e3f21af01ed499 100644 (file)
@@ -45,8 +45,8 @@ BridgeNetDevice::GetTypeId (void)
                    MakeUintegerChecker<uint16_t> ())    
     .AddAttribute ("StateSize", "The size of the State Table",
                    UintegerValue (8000),
-                   MakeUintegerAccessor (&BridgeNetDevice::SetStateSize,
-                                         &BridgeNetDevice::GetStateSize),
+                   MakeUintegerAccessor (&BridgeNetDevice::SetMaxStateSize,
+                                         &BridgeNetDevice::GetMaxStateSize),
                    MakeUintegerChecker<unsigned long> ())                  
     .AddAttribute ("EnableLearning",
                    "Enable the learning mode of the Learning Bridge",