306203bd3f
The development site silently moved away from openh323.org without even a notice on that page. That page still advertises 1.5.2 as the latest version, even though development is alive and kicking and is at 1.8.2 now. Oh well...
16 lines
570 B
Text
16 lines
570 B
Text
$NetBSD: patch-bd,v 1.1 2004/10/09 14:01:03 mjl Exp $
|
|
|
|
--- include/ptlib/ipsock.h.orig 2004-10-09 13:10:10.000000000 +0200
|
|
+++ include/ptlib/ipsock.h 2004-10-09 13:47:49.000000000 +0200
|
|
@@ -796,7 +796,11 @@
|
|
* @return TRUE if host is able to capture incoming address, else FALSE
|
|
*/
|
|
BOOL SetCaptureReceiveToAddress()
|
|
+#if P_HAS_PKTINFO
|
|
{ if (!SetOption(IP_PKTINFO, 1, SOL_IP)) return FALSE; catchReceiveToAddr = TRUE; return TRUE; }
|
|
+#else
|
|
+ { return FALSE; }
|
|
+#endif
|
|
|
|
/**
|
|
* return the interface address of the last incoming packet
|