bug 1481: openflow example doesn't run
authorJosh Pelkey <joshpelkey@gmail.com>
Mon, 27 Aug 2012 00:19:20 -0700
changeset 9026 e3475c94c01a
parent 9025 0980403d7723
child 9027 92f01eb7e61e
bug 1481: openflow example doesn't run
RELEASE_NOTES
src/openflow/wscript
--- a/RELEASE_NOTES	Mon Aug 27 00:13:18 2012 -0700
+++ b/RELEASE_NOTES	Mon Aug 27 00:19:20 2012 -0700
@@ -76,6 +76,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 1481 - Openflow example doesn't run
  - bug 1486 - Segfaults in nix-vector-routing with bridges
  - bug 1489 - Jakes Log component is missing
  - fixed bug with multiple LCs in UL BSR
--- a/src/openflow/wscript	Mon Aug 27 00:13:18 2012 -0700
+++ b/src/openflow/wscript	Mon Aug 27 00:19:20 2012 -0700
@@ -107,6 +107,8 @@
         os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'build','default')),
         os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'lib'))]
     
+    conf.env['DEFINES_OPENFLOW'] = ['NS3_OPENFLOW']
+
     conf.env['OPENFLOW'] = conf.check_nonfatal(fragment=test_code, lib='openflow', 
                                                libpath=conf.env['LIBPATH_OPENFLOW'],
                                                use='OPENFLOW DL XML2')