summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorpaul <paul>2005-07-12 20:04:22 +0000
committerpaul <paul>2005-07-12 20:04:22 +0000
commitd57834f6e5f060924b92b9544070ecf5f145848a (patch)
tree25f7312efa2f711b2ebf1b17521e0aea9d83c10f /ospfd/ospfd.h
parente37821068873e4256a5d44d6c81babe39befc8e7 (diff)
2005-07-12 Paul Jakma <paul.jakma@sun.com>
* ospfd.h: add OSPF_ABR_DEFAULT for convenience, make OSPF_ABR_CISCO be the default ABR type. * ospfd.c: (ospf_new) initialise abr_type to OSPF_ABR_DEFAULT * ospf_vty.c: (no_ospf_abr_type_cmd) add standard as a negatable abr_type. default abr_type should be OSPF_ABR_DEFAULT. (ospf_config_write) test whether default abr_type against OSPF_ABR_DEFAULT, rather than any specific ABR_TYPE.
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 8dae8f80..30d276f8 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -168,6 +168,7 @@ struct ospf
#define OSPF_ABR_IBM 2
#define OSPF_ABR_CISCO 3
#define OSPF_ABR_SHORTCUT 4
+#define OSPF_ABR_DEFAULT OSPF_ABR_CISCO
/* NSSA ABR */
u_char anyNSSA; /* Bump for every NSSA attached. */