ruby/trema/set-config.c in trema-0.3.4 vs ruby/trema/set-config.c in trema-0.3.5
- old
+ new
@@ -145,9 +145,10 @@
}
void
Init_set_config() {
+ mTrema = rb_define_module( "Trema" );
cSetConfig = rb_define_class_under( mTrema, "SetConfig", rb_cObject );
rb_define_alloc_func( cSetConfig, set_config_alloc );
rb_define_const( cSetConfig, "OFPC_FRAG_NORMAL", INT2NUM( OFPC_FRAG_NORMAL ) );
rb_define_const( cSetConfig, "OFPC_FRAG_DROP", INT2NUM( OFPC_FRAG_DROP ) );
rb_define_const( cSetConfig, "OFPC_FRAG_REASM", INT2NUM( OFPC_FRAG_REASM ) );