Metasploit mailing list archives

fix for lorcon2, ruby 1.9.2


From: Hardik Shah <hardik05 () gmail com>
Date: Fri, 23 Sep 2011 16:08:48 +0530

Hi All,

Faced a minor problem with Lorcon2 wrapper module, in compiling with ruby
1.9.2 . following will fix the issues for those who are facing it:

change STRCCSTR function in file ruby-lorcon-1.0.0/Lorcon.c at line 443,441:

driver = STR2CSTR(rbdriver);
intf   = STR2CSTR(rbintf);

as

driver = StringValuePtr(rbdriver);
intf   = StringValuePtr(rbintf);

Hope it helps.

Thanks,
Hardik Shah
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: