X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fnet.c;h=640da3beab3c8c6e832d40de4d91cec09ab89c52;hb=26d72b0d840b28325c88bc1f8ce7bac47f42eb6a;hp=0f7be541cf4b82c1b27f8c74d3e14c82ff587fb2;hpb=0a1bc5b19fe40d88790d02f236ea4c9637024969;p=doldaconnect.git diff --git a/daemon/net.c b/daemon/net.c index 0f7be54..640da3b 100644 --- a/daemon/net.c +++ b/daemon/net.c @@ -33,7 +33,6 @@ #include #include #include -#include #ifdef HAVE_LINUX_SOCKIOS_H #include #endif @@ -593,12 +592,6 @@ struct socket *netcslisten(int type, struct sockaddr *name, socklen_t namelen, v errno = EOPNOTSUPP; return(NULL); } - /* I don't know if this is actually correct (it probably isn't), - * but since, at on least Linux systems, PF_* are specifically - * #define'd to their AF_* counterparts, it allows for a severely - * smoother implementation. If it breaks something on your - * platform, please tell me so. - */ if(confgetint("net", "mode") == 0) return(netcslistenlocal(type, name, namelen, func, data)); errno = EOPNOTSUPP;