Allow shorter IPv6 prefix lengths in (some) --synth-domain options.

This commit is contained in:
Simon Kelley
2021-07-18 18:18:56 +01:00
parent 767d9cbd96
commit adf9dec1e6
5 changed files with 51 additions and 39 deletions

View File

@@ -960,10 +960,10 @@ struct dhcp_bridge {
};
struct cond_domain {
char *domain, *prefix;
char *domain, *prefix; /* prefix is text-prefix on domain name */
struct in_addr start, end;
struct in6_addr start6, end6;
int is6, indexed;
int is6, indexed, prefixlen;
struct cond_domain *next;
};