mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
network: generate addresses from pool with larger prefixlen
This commit is contained in:
parent
304e7e9d53
commit
b085cd3786
@ -43,7 +43,7 @@ static int setup_default_address_pool(Manager *m) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = address_pool_new_from_string(m, &p, AF_INET, "192.168.0.0", 16);
|
||||
r = address_pool_new_from_string(m, &p, AF_INET, "10.0.0.0", 8);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
@ -51,7 +51,7 @@ static int setup_default_address_pool(Manager *m) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = address_pool_new_from_string(m, &p, AF_INET, "10.0.0.0", 8);
|
||||
r = address_pool_new_from_string(m, &p, AF_INET, "192.168.0.0", 16);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user