diff options
author | roger <roger@FreeBSD.org> | 2003-09-05 20:35:42 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2003-09-05 20:35:42 +0800 |
commit | fafd6fae90628f9f9020c8d61ff7961b901d1849 (patch) | |
tree | 76bd5dfbc49e4566cabcf8018f08e387c9cb93ef /net/gnomemeeting/files | |
parent | 5a4d237e9f535d66d5d5f0a67a2c4a6a82ae3b92 (diff) | |
download | freebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.tar.gz freebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.tar.zst freebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.zip |
Add patch to disable IPv6 support which was making GM crash.
Fix a fig where calls to GM using 127.0.0.1 fail when NAT support enabled
Diffstat (limited to 'net/gnomemeeting/files')
-rw-r--r-- | net/gnomemeeting/files/patch-endpoint | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net/gnomemeeting/files/patch-endpoint b/net/gnomemeeting/files/patch-endpoint new file mode 100644 index 000000000000..c906400224db --- /dev/null +++ b/net/gnomemeeting/files/patch-endpoint @@ -0,0 +1,37 @@ +*** src/endpoint.cpp.orig Thu Jul 31 17:26:36 2003 +--- src/endpoint.cpp Fri Sep 5 11:40:58 2003 +*************** GMH323EndPoint::GMH323EndPoint () +*** 176,183 **** + + /* Use IPv6 address family by default if available. */ + #ifdef P_HAS_IPV6 +! if (PIPSocket::IsIpAddressFamilyV6Supported()) +! PIPSocket::SetDefaultIpAddressFamilyV6(); + #endif + + rtp_port_range = +--- 176,185 ---- + + /* Use IPv6 address family by default if available. */ + #ifdef P_HAS_IPV6 +! // ENABLING THIS CAUSES PWLIB TO GIVE AN ASSERTION WHEN THERE IS AN +! // INCOMING CALL +! // if (PIPSocket::IsIpAddressFamilyV6Supported()) +! // PIPSocket::SetDefaultIpAddressFamilyV6(); + #endif + + rtp_port_range = +*************** GMH323EndPoint::TranslateTCPAddress(PIPS +*** 682,687 **** +--- 684,694 ---- + + && !((remoteAddr.Byte1() == 172) + && ((remoteAddr.Byte2() >= 16)&&(remoteAddr.Byte2()<=31))) ++ ++ && !((remoteAddr.Byte1() == 127) ++ &&(remoteAddr.Byte2()== 0) ++ &&(remoteAddr.Byte3()==0) ++ &&(remoteAddr.Byte4()==1)) + + && !(remoteAddr.Byte1() == 10)) { + |