Translate tli entries in interfaces file to tcp
From SybaseWiki
On Sun systems the interfaces file might contain entries that look like this:
SYBASE_SERVER query tli tcp /dev/tcp \x000213880a3ee71c0000000000000000 master tli tcp /dev/tcp \x000213880a3ee71c0000000000000000
In the old days this was the way to specify a server. To translate these to the usual non-hex notation follow this simple method:
Take the hex-number from the 5th position to the 8th. In this case the number is 1388. Use your favorite calculator to convert it to decimal. The output should be 5030. That's the port number.
The new entry in the interfaces file should then be:
SYBASE_SERVER query tcp ether <hostname> 5030 master tcp ether <hostname> 5030