From 5a1ca0134e484c09d4f248e2ae3816604b5a8b26 Mon Sep 17 00:00:00 2001 From: Josh Pelkey Date: Mon, 27 Aug 2012 00:19:20 -0700 Subject: [PATCH] bug 1481: openflow example doesn't run --- RELEASE_NOTES | 1 + src/openflow/wscript | 2 ++ 2 files changed, 3 insertions(+) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 8063442ff..7bae695df 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -76,6 +76,7 @@ Bugs fixed - 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 diff --git a/src/openflow/wscript b/src/openflow/wscript index b18d2c141..37648f437 100644 --- a/src/openflow/wscript +++ b/src/openflow/wscript @@ -107,6 +107,8 @@ int main() 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')