resolve: bump max of dns servers/search domains

Apparently people want more of these (as #11175 shows). Since this is
merely a safety limit for us, let's just bump all values substantially.

Fixes: #11175
This commit is contained in:
Lennart Poettering 2018-12-17 13:34:50 +01:00
parent bce48452b8
commit b950ee06e6
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ typedef struct LinkAddress LinkAddress;
#include "resolved-dns-server.h"
#include "resolved-manager.h"
#define LINK_SEARCH_DOMAINS_MAX 32
#define LINK_DNS_SERVERS_MAX 32
#define LINK_SEARCH_DOMAINS_MAX 256
#define LINK_DNS_SERVERS_MAX 256
struct LinkAddress {
Link *link;

View File

@ -20,8 +20,8 @@ typedef struct Manager Manager;
#include "resolved-dns-trust-anchor.h"
#include "resolved-link.h"
#define MANAGER_SEARCH_DOMAINS_MAX 32
#define MANAGER_DNS_SERVERS_MAX 32
#define MANAGER_SEARCH_DOMAINS_MAX 256
#define MANAGER_DNS_SERVERS_MAX 256
typedef struct EtcHosts {
Hashmap *by_address;