bindings/python/ns3modulegen.py
changeset 5838 eb5b9d295192
parent 5249 85cde7d987ed
child 5839 569f16c35f46
--- a/bindings/python/ns3modulegen.py	Mon Dec 07 11:14:58 2009 +0100
+++ b/bindings/python/ns3modulegen.py	Mon Dec 07 19:16:52 2009 +0100
@@ -138,6 +138,7 @@
     if 'EmuNetDevice' not in enabled_features:
         for clsname in ['EmuNetDevice', 'EmuHelper']:
             root_module.classes.remove(root_module['ns3::%s' % clsname])
+        root_module.enums.remove(root_module['ns3::EmuNetDevice::EncapsulationMode'])
 
     if 'RealTime' not in enabled_features:
         for clsname in ['WallClockSynchronizer', 'RealtimeSimulatorImpl']: