Fixed short copies of struct sockaddr (it's shorter than sockaddr_in6!)
which was giving duff results when comparing IPv6 ACL entries.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef __CONTROL_H
|
||||
#define __CONTROL_H
|
||||
|
||||
void accept_control_connection(struct mode_serve_params* params, int client_fd, struct sockaddr* client_address);
|
||||
void accept_control_connection(struct mode_serve_params* params, int client_fd, union mysockaddr* client_address);
|
||||
void serve_open_control_socket(struct mode_serve_params* params);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user