1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

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.
This commit is contained in:
Ondrej Filip
2000-09-02 08:54:40 +00:00
parent 5ddec4e6cf
commit e3bc10fdc4
7 changed files with 46 additions and 11 deletions

View File

@@ -103,6 +103,7 @@ struct ospf_iface {
u32 bdrid;
u8 type; /* OSPF view of type */
u8 strictnbma; /* Can I talk with unknown neighbors? */
u8 stub; /* Inactive interface */
#define OSPF_IT_BCAST 0
#define OSPF_IT_NBMA 1
#define OSPF_IT_PTP 2
@@ -390,6 +391,7 @@ struct ospf_iface_patt {
int type;
int autype;
int strictnbma;
int stub;
#define AU_NONE 0
#define AU_SIMPLE 1
#define AU_CRYPT 2