mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Fixes compilation on older systems.
Older kernel headers (the ones in Debian Sarge) does not have __kernel_sockaddr_storage .
This commit is contained in:
parent
e3c460bc90
commit
11ec0f1a51
@ -152,7 +152,7 @@ static inline char *sysio_mcast_join(sock *s)
|
||||
#define TCP_MD5SIG_MAXKEYLEN 80
|
||||
|
||||
struct tcp_md5sig {
|
||||
struct __kernel_sockaddr_storage tcpm_addr; /* address associated */
|
||||
struct sockaddr_storage tcpm_addr; /* address associated */
|
||||
__u16 __tcpm_pad1; /* zero */
|
||||
__u16 tcpm_keylen; /* key length */
|
||||
__u32 __tcpm_pad2; /* zero */
|
||||
|
Loading…
Reference in New Issue
Block a user