use the correct opcode for PONG.

djees i can't hex.
This commit is contained in:
Joris Vink 2017-01-30 22:17:47 +01:00
parent 30666618f8
commit d5a32c2dab
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ TAILQ_HEAD(netbuf_head, netbuf);
#define WEBSOCKET_OP_BINARY 0x02
#define WEBSOCKET_OP_CLOSE 0x08
#define WEBSOCKET_OP_PING 0x09
#define WEBSOCKET_OP_PONG 0x10
#define WEBSOCKET_OP_PONG 0x0a
#define WEBSOCKET_BROADCAST_LOCAL 1
#define WEBSOCKET_BROADCAST_GLOBAL 2