diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-21 09:27:52 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-21 09:27:52 +0200 |
commit | c3226991a061415fa83b757cbff678111c586e58 (patch) | |
tree | ecbc7e7a5a2724463e2672bf8a3d1f64956467c0 /proto/ospf/config.Y | |
parent | 3aab39f589c352e30e9db92346b579dd561482b3 (diff) |
Temporary OSPFv3 development commit
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r-- | proto/ospf/config.Y | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index 77ca26cf..6acc7d24 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -20,6 +20,7 @@ static struct nbma_node *this_nbma; static struct area_net_config *this_pref; static struct ospf_stubnet_config *this_stubnet; +#ifdef OSPFv2 static void finish_iface_config(struct ospf_iface_patt *ip) { @@ -31,6 +32,16 @@ finish_iface_config(struct ospf_iface_patt *ip) if ((ip->autype == OSPF_AUTH_NONE) && (ip->passwords != NULL)) log(L_WARN "Password option without authentication option does not make sense"); } +#endif + +#ifdef OSPFv3 +static void +finish_iface_config(struct ospf_iface_patt *ip) +{ + if ((ip->autype != OSPF_AUTH_NONE) || (get_passwords() != NULL)) + log(L_WARN "Authentication not supported in OSPFv3"); +} +#endif CF_DECLS |