Yes I can try, but I need time to learn from the http://www.libssh.orgwebsite, your methodology. Or if you could give me some tips. At the moment I can give the code with the changes done.
Cheers, DB 2010/7/7 Andreas Schneider <[email protected]> > On Wednesday 07 July 2010 10:58:13 you wrote: > > Hi Andreas, > > thak you very much for your reply. > > However I resolved the issue with some little changes: > > - libssh.h: added the element SSH_OPTIONS_BINDADDR in the enum > > ssh_options_e; > > - options.c: changed ssh_options_set, adding some statements to the > switch, > > to handle the SSH_OPTIONS_BINDADDR, by updating the struct session. Using > > the SAFEFREE and the strdup to update the bindaddr char* (so as you have > > done to the other fields of the struct). > > > > By some tests, looks like it's possible to bind any IP address from > client > > side now. > > > > I like very much the job you have done with libssh, thank you very much > ur > > like an hero ;o) > > > > -DB > > > > Could you provide a patch for this? > > > Cheers, > > > -- andreas > > >
