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:
@@ -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
|
||||
|
Reference in New Issue
Block a user