summaryrefslogtreecommitdiff
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-02 08:54:40 +0000
committerOndrej Filip <feela@network.cz>2000-09-02 08:54:40 +0000
commite3bc10fdc49266db827af4e4062e639862037eb6 (patch)
tree0eaa4538e5d028c9bbb49e3a57b0d9444ee7be34 /proto/ospf/config.Y
parent5ddec4e6cfef8e5867d7440693894517f955e96f (diff)
Added stub interface. (Interface which is propagated to OSPF but
it does not sends nor listens packets.) I added some new options, please look at it and look into doc if it's OK.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r--proto/ospf/config.Y2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 50ba371a..459a236c 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -88,6 +88,7 @@ ospf_iface_item:
| TYPE NONBROADCAST { OSPF_PATT->type = OSPF_IT_NBMA ; }
| TYPE POINTOPOINT { OSPF_PATT->type = OSPF_IT_PTP ; }
| STRICT NONBROADCAST bool { OSPF_PATT->strictnbma = $3 ; }
+ | STUB bool { OSPF_PATT->stub = $2 ; }
| NEIGHBORS '{' ipa_list '}'
| AUTHENTICATION NONE { OSPF_PATT->autype=AU_NONE ; }
| AUTHENTICATION SIMPLE { OSPF_PATT->autype=AU_SIMPLE ; }
@@ -137,6 +138,7 @@ ospf_iface_start:
OSPF_PATT->deadc = DEADC_D;
OSPF_PATT->type = OSPF_IT_UNDEF;
OSPF_PATT->strictnbma = 0;
+ OSPF_PATT->stub = 0;
init_list(&OSPF_PATT->nbma_list);
OSPF_PATT->autype=AU_NONE;
}