|
|
|
@ -252,8 +252,8 @@ in
|
|
|
|
|
# Enable OSPF only on interfaces with a secret.
|
|
|
|
|
lib.optionalString (config.site.net.${net}.ospf.secret != null) ''
|
|
|
|
|
interface "${net}" instance ${toString hostConf.ospf.upstreamInstance} {
|
|
|
|
|
authentication cryptographic;
|
|
|
|
|
password "${config.site.net.${net}.ospf.secret}";
|
|
|
|
|
#authentication cryptographic;
|
|
|
|
|
#password "${config.site.net.${net}.ospf.secret}";
|
|
|
|
|
};
|
|
|
|
|
''
|
|
|
|
|
) hostConf.interfaces
|
|
|
|
@ -283,8 +283,8 @@ in
|
|
|
|
|
# Enable OSPF only on interfaces with a secret.
|
|
|
|
|
lib.optionalString (config.site.net.${net}.ospf.secret != null) ''
|
|
|
|
|
interface "${net}" instance ${toString config.site.hosts.${upstream}.ospf.upstreamInstance} {
|
|
|
|
|
authentication cryptographic;
|
|
|
|
|
password "${config.site.net.${net}.ospf.secret}";
|
|
|
|
|
#authentication cryptographic;
|
|
|
|
|
#password "${config.site.net.${net}.ospf.secret}";
|
|
|
|
|
};
|
|
|
|
|
''
|
|
|
|
|
) hostConf.interfaces
|
|
|
|
|