Skip to content

Instantly share code, notes, and snippets.

View 3cky's full-sized avatar
💭
I may be slow to respond.

Victor Antonovich 3cky

💭
I may be slow to respond.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 3cky on github.
  • I am 3cky (https://keybase.io/3cky) on keybase.
  • I have a public key whose fingerprint is 0DDE E396 2489 C919 3056 8237 CE16 0FB4 911B 4A0F

To claim this, I am signing this object:

@3cky
3cky / wireshark-packet-hazelcast25.patch
Created March 26, 2014 13:55
Hazelcast 2.5 (and probably newer) Wireshark packet dissector patch.
diff --git a/epan/dissectors/packet-hazelcast.c b/epan/dissectors/packet-hazelcast.c
index 841ef56..f059f65 100644
--- a/epan/dissectors/packet-hazelcast.c
+++ b/epan/dissectors/packet-hazelcast.c
@@ -6,7 +6,7 @@
* Website: http://www.hazelcast.com/
*
* reversed from this code:
- * http://code.google.com/p/hazelcast/source/browse/branches/1.9.4/hazelcast/src/main/java/com/hazelcast/nio/Packet.java
+ * https://github.com/hazelcast/hazelcast/blob/02c48a533c6398303eb526481af15dd444fb0a21/hazelcast/src/main/java/com/hazelcast/nio/Packet.java
--- ./gazebo/transport/Connection.cc.orig 2014-02-23 18:58:35.226997266 +0400
+++ ./gazebo/transport/Connection.cc 2014-02-23 19:02:49.123645564 +0400
@@ -842,6 +842,8 @@ void Connection::OnConnect(const boost::
this->remoteURI = std::string("http://") + this->GetRemoteHostname()
+ ":" + boost::lexical_cast<std::string>(this->GetRemotePort());
+ try
+ {
if (this->socket && this->socket->is_open())
{