mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
match: Workaround matching on systems without IPv6
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -46,6 +46,11 @@
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
/* for systems without IPv6 support matching should still work */
|
||||
#ifndef INET6_ADDRSTRLEN
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
#endif
|
||||
|
||||
#include "libssh/priv.h"
|
||||
|
||||
#define MAX_MATCH_RECURSION 16
|
||||
|
||||
Reference in New Issue
Block a user