Skip to content

Commit

Permalink
server: bump protocol magic to 0x88888809
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 20, 2024
1 parent 1ff4b64 commit 0e371f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rpcclient/rpcclient/protosocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# field[0] is MAGIC - skip
COMMAND_MAPPING = {field.message_type.name: field.name for field in Command.DESCRIPTOR.fields[1:]}
SERVER_MAGIC_VERSION = 0x88888808
SERVER_MAGIC_VERSION = 0x88888809
MAGIC = 0x12345679
MAX_PATH_LEN = 1024

Expand Down
2 changes: 1 addition & 1 deletion src/rpcserver/rpcserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Example usage: \n\
"x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x19", "x20", "x21", \
"x22", "x23", "x24", "x25", "x26"

#define SERVER_MAGIC_VERSION (0x88888808)
#define SERVER_MAGIC_VERSION (0x88888809)
extern char **environ;

typedef struct {
Expand Down

0 comments on commit 0e371f5

Please sign in to comment.