default ports are not assigned correctly

Constantin Vasilyev <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Dear FreeTDS maintainers,

It appears like default port numbers assignment described here http://www.freetds.org/userguide/freetdsconf.htm
is broken in 0.91.  Port number is set to zero by default even though specific TDSVER is set:

> printf "[FOOBAR]\n\thost=192.168.1.1\n" > freetds.conf 
> export FREETDSCONF=./freetds.conf 
> export TDSVER=7.0
> TDSDUMPCONFIG=stdout tsql -S FOOBAR | grep port
config.c:229:                   port = 0
There was a problem connecting to the server
>

Please take a look.


Constantin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.