On Sun, 9 Aug 2015 09:37:13 +0200 Ed Schouten <e...@nuxi.nl> wrote: > Hi Alexander, > > 2015-08-08 21:05 GMT+02:00 Alexander Kabaev <kab...@gmail.com>: > > this commit broke more than just syslogd. rtsol and rtsold both are > > victims of the change as they are trying to shutdown unconnected > > raw sockets to make then 'send-only' and fail. > > Good catch! I think that in this case it is safe to omit the call to > shutdown(), or at least not let the application fail on startup > because of shutdown() being more strict. After all, this code would > fail on Linux, OS X, etc. already because of this. > > Could you test the attached patch and let me know whether it makes > rtsol/rtsold work again? > > Thanks, > -- > Ed Schouten <e...@nuxi.nl> > Nuxi, 's-Hertogenbosch, the Netherlands > KvK/VAT number: 62051717
It most definitely does work, this is what I have done to get my network scripts work again. I wonder if there are other means of restricting raw sockets that can be used to achieve the result authors of rtsold had hoped or? -- Alexander Kabaev
pgpmB1zuOdeeD.pgp
Description: OpenPGP digital signature