Skip to content

Instantly share code, notes, and snippets.

@delfer
Created December 14, 2017 06:13
Show Gist options
  • Select an option

  • Save delfer/fd52db1364d2be8fe03263b0a99d2046 to your computer and use it in GitHub Desktop.

Select an option

Save delfer/fd52db1364d2be8fe03263b0a99d2046 to your computer and use it in GitHub Desktop.
--- /usr/share/perl5/PVE/Storage/GlusterfsPlugin.pm 2017-11-29 13:32:31.000000000 +0300
+++ GlusterfsPlugin.pm 2017-12-14 09:11:34.313837830 +0300
@@ -41,7 +41,7 @@
if ($server && $server ne 'localhost' && $server ne '127.0.0.1' && $server ne '::1') {
# ping the echo port (7) without service check
- $status = PVE::Network::tcp_ping($server, undef, 2);
+ $status = PVE::Network::tcp_ping($server, 24007, 2);
} else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment