Use vars instead of redundant defintion
This commit is contained in:
parent
872fbea418
commit
9f8282e83b
@ -81,7 +81,7 @@
|
|||||||
ipv6 {
|
ipv6 {
|
||||||
table ospf6;
|
table ospf6;
|
||||||
export filter {
|
export filter {
|
||||||
krt_prefsrc=fd00:152:152:102::1;
|
krt_prefsrc=${ (lib.head config.networking.interfaces.lo.ipv6.addresses).address };
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
@ -92,7 +92,7 @@
|
|||||||
ipv4 {
|
ipv4 {
|
||||||
table ospf4;
|
table ospf4;
|
||||||
export filter {
|
export filter {
|
||||||
krt_prefsrc=10.152.102.1;
|
krt_prefsrc=${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
|
Loading…
Reference in New Issue
Block a user