Exclude TapBridgeFdReader from bindings when TapBridge is not enabled
authorTom Henderson <tomh@tomh.org>
Wed, 26 Jan 2011 10:56:33 -0800
changeset 6785 afe95f44de93
parent 6784 322f0417465d
child 6786 17f9a64dd4f6
Exclude TapBridgeFdReader from bindings when TapBridge is not enabled
bindings/python/ns3modulegen.py
--- a/bindings/python/ns3modulegen.py	Wed Jan 26 10:46:43 2011 +0100
+++ b/bindings/python/ns3modulegen.py	Wed Jan 26 10:56:33 2011 -0800
@@ -155,7 +155,7 @@
         root_module.enums.remove(root_module['ns3::RealtimeSimulatorImpl::SynchronizationMode'])
 
     if 'TapBridge' not in enabled_features:
-        for clsname in ['TapBridge', 'TapBridgeHelper']:
+        for clsname in ['TapBridge', 'TapBridgeHelper', 'TapBridgeFdReader']:
             root_module.classes.remove(root_module['ns3::%s' % clsname])
         root_module.enums.remove(root_module['ns3::TapBridge::Mode'])