]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxnet.c
Fix another error-reporting bug, in which sk_newlistener would fail to
[PuTTY.git] / unix / uxnet.c
index e2302aa46e2b7a35a3b35a67a0d4aa1ca7032491..fef4c43c132d50c4a28e5273c00c8d3d7a236577 100644 (file)
@@ -390,6 +390,11 @@ int sk_address_is_local(SockAddr addr)
     }
 }
 
+int sk_address_is_special_local(SockAddr addr)
+{
+    return addr->superfamily == UNIX;
+}
+
 int sk_addrtype(SockAddr addr)
 {
     SockAddrStep step;