mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
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:
parent
bce48452b8
commit
b950ee06e6
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user