src/internet/test/ipv4-address-helper-test-suite.cc
changeset 8801 f6b7a1f1b278
parent 8798 5d8dfd7c6609
child 9079 1e5921e6507d
--- a/src/internet/test/ipv4-address-helper-test-suite.cc	Thu May 24 04:16:20 2012 -0400
+++ b/src/internet/test/ipv4-address-helper-test-suite.cc	Thu May 24 20:57:51 2012 -0700
@@ -187,6 +187,7 @@
 
 private:
   virtual void DoRun (void);
+  virtual void DoTeardown (void);
 };
 
 IpAddressHelperTestCasev4::IpAddressHelperTestCasev4 ()
@@ -246,6 +247,13 @@
 
 }
 
+void
+IpAddressHelperTestCasev4::DoTeardown (void)
+{
+  Ipv4AddressGenerator::Reset ();
+  Simulator::Destroy ();
+}
+
 
 static class Ipv4AddressHelperTestSuite : public TestSuite
 {