From d57834f6e5f060924b92b9544070ecf5f145848a Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 12 Jul 2005 20:04:22 +0000 Subject: 2005-07-12 Paul Jakma * 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. --- ospfd/ospfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospfd.c') diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 30164d02..189805b3 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -157,7 +157,7 @@ ospf_new (void) new->router_id.s_addr = htonl (0); new->router_id_static.s_addr = htonl (0); - new->abr_type = OSPF_ABR_STAND; + new->abr_type = OSPF_ABR_DEFAULT; new->oiflist = list_new (); new->vlinks = list_new (); new->areas = list_new (); -- cgit v1.2.3