[Debian-ha-commits] [pcs] 03/04: Update IPv6 bind patch to work with rack
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Mon Jun 27 18:25:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch master
in repository pcs.
commit 3862edbccc65826d71c6d74493298383eb9d9d70
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date: Mon Jun 27 19:53:57 2016 +0200
Update IPv6 bind patch to work with rack
---
debian/patches/0007-Fix-IPv6-bind.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/0007-Fix-IPv6-bind.patch b/debian/patches/0007-Fix-IPv6-bind.patch
index 224d1c7..6e4b02e 100644
--- a/debian/patches/0007-Fix-IPv6-bind.patch
+++ b/debian/patches/0007-Fix-IPv6-bind.patch
@@ -33,7 +33,7 @@ Description: PCSD web interface listens only on IPv6
The problem is caused by the IPV6_V6ONLY socket option being set:
setsockopt(7, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
.
- On ruby 2.1 using ``nil`` in place of ``::`` has the same effect so
+ On ruby 2.1 using ``*`` in place of ``::`` has the same effect so
this ruby version check is added to the bind code in pcsd.
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Bug: https://github.com/ClusterLabs/pcs/issues/51
@@ -47,7 +47,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
end
+if primary_addr == '::' and RUBY_VERSION >= '2.1'
-+ primary_addr = nil
++ primary_addr = '*'
+end
+
webrick_options = {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pcs.git
More information about the Debian-HA-Commits
mailing list