15 lines
420 B
Text
15 lines
420 B
Text
$NetBSD: patch-aa,v 1.2 2005/06/17 15:06:16 hira Exp $
|
|
|
|
--- broadcast.h.orig Tue Jul 27 17:56:37 2004
|
|
+++ broadcast.h Tue Jul 27 17:57:05 2004
|
|
@@ -40,6 +40,10 @@
|
|
struct sockaddr_in addr; /* IP Address to broadcast to */
|
|
struct sockaddr_in6 addr_v6; /* IPv6 Address to broadcast to */
|
|
char* group;
|
|
uint16_t port;
|
|
+#ifdef __NetBSD__
|
|
+ unsigned char ttl;
|
|
+#else
|
|
unsigned int ttl;
|
|
+#endif
|
|
};
|