bug 1486 - Segfaults in nix-vector-routing with bridges
authorPeter J. Scheibel <scheibel1@llnl.gov>
Sun, 26 Aug 2012 23:38:11 -0700
changeset 9022 c57bd30c65cf
parent 9021 4e780b4a0969
child 9023 f77becf78850
bug 1486 - Segfaults in nix-vector-routing with bridges
RELEASE_NOTES
src/nix-vector-routing/model/ipv4-nix-vector-routing.cc
--- a/RELEASE_NOTES	Sun Aug 26 23:28:25 2012 -0700
+++ b/RELEASE_NOTES	Sun Aug 26 23:38:11 2012 -0700
@@ -74,6 +74,7 @@
  - bug 1475 - "test.py --list" should sort the output
  - bug 1476 - TestCase::GetName () should not be private
  - bug 1477 - Click doesn't work with raw sockets
+ - bug 1486 - Segfaults in nix-vector-routing with bridges
  - bug 1489 - Jakes Log component is missing
  - fixed bug with multiple LCs in UL BSR
  - fixed bug with lena-dual-stripe crashes with --homeUesHomeEnbRatio=2
--- a/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc	Sun Aug 26 23:28:25 2012 -0700
+++ b/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc	Sun Aug 26 23:38:11 2012 -0700
@@ -319,7 +319,7 @@
                       continue;
                     }
                   Ptr<Channel> chBridged = ndBridged->GetChannel ();
-                  if (channel == 0)
+                  if (chBridged == 0)
                     {
                       continue;
                     }