forked from DGNum/liminix
address service: rename addr->address & add prefixLength
these names are consistent with nixos
This commit is contained in:
parent
0e73362a8c
commit
3540f594b1
3 changed files with 12 additions and 10 deletions
|
@ -8,8 +8,8 @@ in rec {
|
|||
in bundle {
|
||||
name = "loopback";
|
||||
contents = [
|
||||
(address iface { family = "inet4"; addr ="127.0.0.1";})
|
||||
(address iface { family = "inet6"; addr ="::1";})
|
||||
(address iface { family = "inet4"; address ="127.0.0.1"; prefixLength = 8;})
|
||||
(address iface { family = "inet6"; address ="::1"; prefixLength = 128;})
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue