File: set_ipv6_v6only_to_0

package info (click to toggle)
omniorb-dfsg 4.3.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,172 kB
  • sloc: cpp: 115,843; python: 24,962; ansic: 13,414; sh: 2,665; makefile: 40
file content (27 lines) | stat: -rw-r--r-- 1,010 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
20
21
22
23
24
25
26
27
From: Freexian Packaging Team <team+freexian@tracker.debian.org>
Date: Fri, 18 Jun 2021 13:32:35 +0200
Subject: Ensure omniorb works with sysctl net.ipv6.bindv6only=1

Bug-Debian: http://bugs.debian.org/624099

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 around.  This patch ensures that omniorb will work
regardless of that setting.
---
 include/omniORB4/internal/tcpSocket.h | 1 -
 1 file changed, 1 deletion(-)

Index: omniorb-dfsg/include/omniORB4/internal/tcpSocket.h
===================================================================
--- omniorb-dfsg.orig/include/omniORB4/internal/tcpSocket.h
+++ omniorb-dfsg/include/omniORB4/internal/tcpSocket.h
@@ -44,7 +44,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 OMNI_HAVE_POLL