File: set_ipv6_v6only_to_0

package info (click to toggle)
omniorb-dfsg 4.2.2-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 14,628 kB
  • sloc: cpp: 109,677; python: 24,939; ansic: 14,136; sh: 2,743; makefile: 96
file content (19 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Ensure omniorb works with sysctl net.ipv6.bindv6only=1
 At some point the netbase package shipped with a
 /etc/sysctl.d/bindv6only.conf file setting net.ipv6.bindv6only=1.
 Depending on the upgrade path of the system this might still be
 lingering aroung.  This patch ensures that omniorb will work
 regardless of that setting.
Bug-Debian: http://bugs.debian.org/624099
Author: Upstream

--- a/include/omniORB4/internal/tcpSocket.h
+++ b/include/omniORB4/internal/tcpSocket.h
@@ -46,7 +46,6 @@
 
 #define SOCKNAME_SIZE_T OMNI_SOCKNAME_SIZE_T
 #define USE_NONBLOCKING_CONNECT
-#define OMNI_IPV6_SOCKETS_ACCEPT_IPV4_CONNECTIONS
 #define OMNIORB_HOSTNAME_MAX 512
 
 #ifdef HAVE_POLL