From e3bc10fdc49266db827af4e4062e639862037eb6 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sat, 2 Sep 2000 08:54:40 +0000 Subject: 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. --- proto/ospf/config.Y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/ospf/config.Y') diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index 50ba371..459a236 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; } -- cgit v1.2.3