ruby/trema/vendor.c in trema-0.2.3 vs ruby/trema/vendor.c in trema-0.2.4

- old
+ new

@@ -207,10 +207,10 @@ if ( data->length ) { rb_hash_aset( attributes, ID2SYM( rb_intern( "data" ) ), rb_str_new( data->data, ( long ) data->length ) ); } VALUE vendor_r = rb_funcall( cVendor, rb_intern( "new" ), 1, attributes ); - rb_funcall( controller, rb_intern( "vendor" ), 1, vendor_r ); + rb_funcall( controller, rb_intern( "vendor" ), 2, ULL2NUM( datapath_id ), vendor_r ); } /* * Local variables: