diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-11-19 13:46:21 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-11-19 13:46:21 +0100 |
commit | 391931d45686a807d322878d4b3d5c9634e2dbca (patch) | |
tree | 73916db85f6b68eabb5000fdcfe19ade4e7954f3 /proto/ospf/config.Y | |
parent | 79f561a173c9ceb824d64aa32d82e43ba62acebc (diff) |
Minor finalizations of link state checks.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r-- | proto/ospf/config.Y | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index 49d65942..3af879d6 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -49,7 +49,7 @@ CF_KEYWORDS(OSPF, AREA, OSPF_METRIC1, OSPF_METRIC2, OSPF_TAG, OSPF_ROUTER_ID) CF_KEYWORDS(BROADCAST, NEIGHBORS, RFC1583COMPAT, STUB, TICK, COST, RETRANSMIT) CF_KEYWORDS(HELLO, TRANSMIT, PRIORITY, DEAD, NONBROADCAST, POINTOPOINT, TYPE) CF_KEYWORDS(NONE, SIMPLE, AUTHENTICATION, STRICT, CRYPTOGRAPHIC) -CF_KEYWORDS(ELIGIBLE, POLL, NETWORKS, HIDDEN, VIRTUAL, LINK) +CF_KEYWORDS(ELIGIBLE, POLL, NETWORKS, HIDDEN, VIRTUAL, CHECK, LINK) CF_KEYWORDS(RX, BUFFER, LARGE, NORMAL, STUBNET, HIDDEN, SUMMARY) CF_KEYWORDS(WAIT, DELAY, LSADB) @@ -192,7 +192,7 @@ ospf_iface_item: | TYPE POINTOPOINT { OSPF_PATT->type = OSPF_IT_PTP ; } | STRICT NONBROADCAST bool { OSPF_PATT->strictnbma = $3 ; } | STUB bool { OSPF_PATT->stub = $2 ; } - | LINK bool { OSPF_PATT->use_link = $2 ; } + | CHECK LINK bool { OSPF_PATT->check_link = $3; } | NEIGHBORS '{' ipa_list '}' | AUTHENTICATION NONE { OSPF_PATT->autype = OSPF_AUTH_NONE ; } | AUTHENTICATION SIMPLE { OSPF_PATT->autype = OSPF_AUTH_SIMPLE ; } @@ -274,9 +274,6 @@ ospf_iface_start: OSPF_PATT->deadc = DEADC_D; OSPF_PATT->dead = 0; OSPF_PATT->type = OSPF_IT_UNDEF; - OSPF_PATT->strictnbma = 0; - OSPF_PATT->stub = 0; - OSPF_PATT->use_link = 1; init_list(&OSPF_PATT->nbma_list); OSPF_PATT->autype = OSPF_AUTH_NONE; reset_passwords(); |