send proper reset command to client
This commit is contained in:
parent
0babfde11d
commit
62810fe935
@ -35,7 +35,8 @@ enum
|
||||
COMMAND_SET_PUZZLE,
|
||||
COMMAND_SOLVE_PUZZLE,
|
||||
COMMAND_RESET_PUZZLE,
|
||||
COMMAND_MAX
|
||||
COMMAND_MAX,
|
||||
COMMAND_RESET = 127
|
||||
};
|
||||
|
||||
#endif /* _TS3INIT_HEADER_H */
|
||||
|
@ -170,7 +170,7 @@ ts3init_send_ipv4_reply(struct sk_buff *oldskb, const struct xt_action_param *pa
|
||||
return false;
|
||||
}
|
||||
|
||||
static const char ts3init_reset_package[] = {'T', 'S', '3', 'I', 'N', 'I', 'T', '1', 0x65, 0, 0x88, COMMAND_RESET_PUZZLE, 0 };
|
||||
static const char ts3init_reset_package[] = {'T', 'S', '3', 'I', 'N', 'I', 'T', '1', 0x65, 0, 0x88, COMMAND_RESET, 0 };
|
||||
|
||||
static unsigned int
|
||||
ts3init_reset_ipv4_tg(struct sk_buff *skb, const struct xt_action_param *par)
|
||||
|
Loading…
x
Reference in New Issue
Block a user