[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tinc/src net.h,1.9.4.71,1.9.4.72



Update of /home/CVS/tinc/src
In directory humbolt:/tmp/cvs-serv27092

Modified Files:
      Tag: CABAL
	net.h 
Log Message:
Some platforms don't know sa_family_t or define it other than uint16_t.


Index: net.h
===================================================================
RCS file: /home/CVS/tinc/src/net.h,v
retrieving revision 1.9.4.71
retrieving revision 1.9.4.72
diff -u -r1.9.4.71 -r1.9.4.72
--- net.h	2003/10/06 16:49:42	1.9.4.71
+++ net.h	2003/10/08 12:09:37	1.9.4.72
@@ -54,7 +54,7 @@
 
 typedef short length_t;
 
-#define AF_UNKNOWN ((sa_family_t)-1)
+#define AF_UNKNOWN 255
 
 struct sockaddr_unknown {
 	uint16_t family;

--
Tinc-cvs:     CVS changelog list for the tinc VPN daemon
Archive:      http://mail.nl.linux.org/tinc-cvs/
Tinc site:    http://tinc.nl.linux.org/