]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Indentation.
authorOndrej Filip <feela@network.cz>
Sun, 6 Jun 2004 14:27:11 +0000 (14:27 +0000)
committerOndrej Filip <feela@network.cz>
Sun, 6 Jun 2004 14:27:11 +0000 (14:27 +0000)
proto/ospf/config.Y
proto/ospf/ospf.h

index 177c926f1abdf27f16811cd439be09bdd648e2e1..5b4f1acca7657614d68df615b1622189e81e1cd1 100644 (file)
@@ -37,7 +37,7 @@ ospf_proto_start: proto_start OSPF {
      this_proto = proto_config_new(&proto_ospf, sizeof(struct ospf_config));
      this_proto->preference = DEF_PREF_OSPF;
      init_list(&OSPF_CFG->area_list);
-     OSPF_CFG->rfc1583=1;
+     OSPF_CFG->rfc1583 = DEFAULT_RFC1583;
   }
  ;
 
@@ -56,7 +56,7 @@ ospf_area_start: AREA idval '{' {
   this_area = cfg_allocz(sizeof(struct ospf_area_config));
   add_tail(&OSPF_CFG->area_list, NODE this_area);
   this_area->areaid = $2;
-  this_area->tick = DISPTICK;
+  this_area->tick = DEFAULT_DISPTICK;
   this_area->stub = 0;
   init_list(&this_area->patt_list);
   init_list(&this_area->net_list);
index cf984aaa4d87e3a140312c0370834688e9a3ebd3..29e1af5006fa5b28b30ec935130401b5c0fde349 100644 (file)
@@ -43,7 +43,7 @@
 #define AllDRouters ipa_from_u32(0xe0000006)   /* 224.0.0.6 */
 #define DEFAULTDES ipa_from_u32(0)
 #else
-#error Multicast address not defined in IPv6
+#error OSPF for IPv6 is not implemented (mail to Feela <feela@network.cz>)
 #endif
 
 
 #define MINLSINTERVAL 5
 #define MINLSARRIVAL 1
 #define LSINFINITY 0xffff      /* RFC says 0xffffff ??? */
-#define DISPTICK 7
+
+#define DEFAULT_DISPTICK 4
+#define DEFAULT_OSPFTICK 5
+#define DEFAULT_RFC1583 1               /* compatibility with rfc1583 */
+
 
 struct ospf_config
 {