Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
d631698e
Commit
d631698e
authored
Jun 06, 2004
by
Ondřej Filip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indentation.
parent
d8d553ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
proto/ospf/config.Y
proto/ospf/config.Y
+2
-2
proto/ospf/ospf.h
proto/ospf/ospf.h
+6
-2
No files found.
proto/ospf/config.Y
View file @
d631698e
...
...
@@ -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);
...
...
proto/ospf/ospf.h
View file @
d631698e
...
...
@@ -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
...
...
@@ -51,7 +51,11 @@
#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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment