diff --git a/bindings/python/ns3modulegen.py b/bindings/python/ns3modulegen.py index 12363b1e4..50f6f2653 100755 --- a/bindings/python/ns3modulegen.py +++ b/bindings/python/ns3modulegen.py @@ -145,6 +145,7 @@ def main(): if 'TapBridge' not in enabled_features: for clsname in ['TapBridge', 'TapBridgeHelper']: root_module.classes.remove(root_module['ns3::%s' % clsname]) + root_module.enums.remove(root_module['ns3::TapBridge::Mode']) root_module.generate(out, '_ns3')