1
0

Use vars instead of redundant defintion

This commit is contained in:
clerie 2020-12-17 01:41:45 +01:00
parent 872fbea418
commit 9f8282e83b

View File

@ -81,7 +81,7 @@
ipv6 {
table ospf6;
export filter {
krt_prefsrc=fd00:152:152:102::1;
krt_prefsrc=${ (lib.head config.networking.interfaces.lo.ipv6.addresses).address };
accept;
};
import none;
@ -92,7 +92,7 @@
ipv4 {
table ospf4;
export filter {
krt_prefsrc=10.152.102.1;
krt_prefsrc=${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
accept;
};
import none;