feature: Add match_localnetwork predicate and its feature

Signed-off-by: Francesco Rollo <eferollo@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Eshan Kelkar <eshankelkar@galorithm.com>
This commit is contained in:
Francesco Rollo
2024-05-29 18:01:01 +02:00
committed by Sahana Prasad
parent c93a730bc1
commit e90df71955
5 changed files with 535 additions and 17 deletions

View File

@@ -27,12 +27,12 @@
#ifndef _WIN32
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS
#include <pwd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <pwd.h>
#include <sys/socket.h>
#include <sys/types.h>
#endif /* _WIN32 */
@@ -2226,5 +2226,4 @@ int ssh_check_username_syntax(const char *username)
return SSH_OK;
}
/** @} */