#14 Add Bind Address to config file

open
nobody
None
5
2013-04-23
2013-04-23
Don Jorgito
No

Good morning!

I use choose my output bind address using curl, but after change Curl by Mechanize I lost that feature, so I propose add a new parameter in the config file as

BindAddress = 192.168.1.7

Adding this lines in ParseConfig

212 } elsif ($Option =~ m/^BindAddress$/i) {
213 $Self->{'Browser'}->local_address($OptionValue);
214 } elsif ($Option =~ m/^CurlBin$/i) { # obsolete curl config

local_address mehod requires libwww-perl-6.05 > LWP::UserAgent, that is superclass of WWW::Mechanize

Thanks!

Discussion