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
be2d38b7
Commit
be2d38b7
authored
Dec 11, 2009
by
Ondřej Zajíček
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporary OSPFv3 commit.
parent
9807690b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
proto/ospf/iface.c
proto/ospf/iface.c
+2
-1
proto/ospf/lsupd.c
proto/ospf/lsupd.c
+1
-1
proto/ospf/ospf.c
proto/ospf/ospf.c
+1
-0
No files found.
proto/ospf/iface.c
View file @
be2d38b7
...
...
@@ -263,6 +263,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event)
hello_timer_hook
(
ifa
->
hello_timer
);
}
schedule_link_lsa
(
ifa
);
schedule_rt_lsa
(
ifa
->
oa
);
break
;
case
ISM_BACKS
:
...
...
@@ -283,6 +284,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event)
case
ISM_DOWN
:
ospf_iface_chstate
(
ifa
,
OSPF_IS_DOWN
);
ospf_iface_down
(
ifa
);
schedule_link_lsa
(
ifa
);
schedule_rt_lsa
(
oa
);
break
;
case
ISM_LOOP
:
/* Useless? */
...
...
@@ -387,7 +389,6 @@ ospf_iface_add(struct object_lock *lock)
ifa
->
state
=
OSPF_IS_DOWN
;
ospf_iface_sm
(
ifa
,
ISM_UP
);
schedule_link_lsa
(
ifa
);
}
void
...
...
proto/ospf/lsupd.c
View file @
be2d38b7
...
...
@@ -639,7 +639,7 @@ ospf_lsupd_receive(struct ospf_packet *ps_i, struct ospf_iface *ifa,
DBG
(
"New LSA installed in DB
\n
"
);
#ifdef OSPFv3
/* Events 6,7 from 4.4.3. */
/* Events 6,7 from
RFC5340
4.4.3. */
if
((
lsatmp
.
type
==
LSA_T_LINK
)
&&
(
ifa
->
state
==
OSPF_IS_DR
))
schedule_net_lsa
(
ifa
);
...
...
proto/ospf/ospf.c
View file @
be2d38b7
...
...
@@ -493,6 +493,7 @@ ospf_ifa_notify(struct proto *p, unsigned flags, struct ifa *a)
if
(
ifa
->
iface
==
a
->
iface
)
{
schedule_rt_lsa
(
ifa
->
oa
);
/* Event 5 from RFC5340 4.4.3. */
schedule_link_lsa
(
ifa
);
return
;
}
...
...
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