bindings/python/ns3modulegen.py
changeset 4208 ef9ae8962bbb
parent 4196 ed59d07c5373
child 4299 834a7ac30481
     1.1 --- a/bindings/python/ns3modulegen.py	Wed Feb 18 12:23:08 2009 +0000
     1.2 +++ b/bindings/python/ns3modulegen.py	Mon Feb 23 16:07:46 2009 +0000
     1.3 @@ -142,6 +142,10 @@
     1.4              root_module.classes.remove(root_module['ns3::%s' % clsname])
     1.5          root_module.enums.remove(root_module['ns3::RealtimeSimulatorImpl::SynchronizationMode'])
     1.6  
     1.7 +    if 'TapBridge' not in enabled_features:
     1.8 +        for clsname in ['TapBridge', 'TapBridgeHelper']:
     1.9 +            root_module.classes.remove(root_module['ns3::%s' % clsname])
    1.10 +
    1.11      root_module.generate(out, '_ns3')
    1.12  
    1.13      out.close()