|
Bugzilla – Full Text Bug Listing |
| Summary: | BridgeNetDevice: Default ExpirationTime not realistic | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | bridge | Assignee: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
+1 changeset: 7452:5ad2cbe1d2f6 tag: tip user: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> date: Thu Aug 18 17:13:33 2011 +0100 summary: Bug 1168 - BridgeNetDevice: Default ExpirationTime not realistic |
When I wrote BridgeNetDevice for some reason I was convinced there was nothing about default values in the standard, but I just discovered I was wrong: .AddAttribute ("ExpirationTime", "Time it takes for learned MAC state entry to expire.", TimeValue (Seconds (30)), MakeTimeAccessor (&BridgeNetDevice::m_expirationTime), MakeTimeChecker ()) The standard 802.1D-2004 says in page 44 sec. 7.9.2: Parameter: Ageing Time Recommended default value: 300.0 s Range: 10.0–1 000 000.0 s We should probably fix ns-3 to be more aligned with the standard.