[spamdyke-users] getprotobyname()

2009-11-18 Thread David Bo Jensen
I have the famous problem with a newly installed debian lenny AMD64 unable to find protocol number with getprotobyname() Yes I know it has something (I have read) to do with UDP. grep UDP /etc/protocols udp17UDP#user datagram protocol However I can successfully, send and

Re: [spamdyke-users] getprotobyname()

2009-11-18 Thread David Bo Jensen
The code in spamdyke is very simple it just call getprotobyname(udp), and if the returned pointer is null it logs the error message. My guess is that getprotobyname for some reason hasn't been able to read the /etc/protocols. I have made a small testprogram using getprotobyname and it works