ruby/trema/switch.c in trema-0.3.14 vs ruby/trema/switch.c in trema-0.3.15

- old
+ new

@@ -14,12 +14,12 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "default-logger.h" #include "flow-mod.h" -#include "logger.h" #include "ruby.h" #include "rubysig.h" #include "switch.h" #include "chibach.h" // must be included after ruby.h for undef ruby's xmalloc @@ -178,10 +178,10 @@ void Init_switch() { mTrema = rb_define_module( "Trema" ); cSwitch = rb_define_class_under( mTrema, "Switch", rb_cObject ); - rb_include_module( cSwitch, mLogger ); + rb_include_module( cSwitch, mDefaultLogger ); rb_define_method( cSwitch, "run!", switch_run, 0 ); rb_define_method( cSwitch, "send_message", switch_send_message, 1 ); rb_define_private_method( cSwitch, "start_chibach", switch_start_chibach, 0 );