Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
a5b583f2
Commit
a5b583f2
authored
Nov 04, 1999
by
Pavel Machek
Browse files
FIXME's updated. One fixme is remaining for correct RIPv4. Wow.
parent
7bf19253
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/rip/rip.c
View file @
a5b583f2
...
...
@@ -8,8 +8,7 @@
FIXME: IpV6 support: packet size
FIXME: IpV6 support: use right address for broadcasts
FIXME: IpV6 support: receive "route using" blocks
FIXME: be able to transmit "route using" blocks [Is this possible?]
6 FIXMEs in code
1 FIXME
*/
#define LOCAL_DEBUG
...
...
@@ -97,7 +96,7 @@ rip_tx( sock *s )
packet
->
block
[
i
].
nexthop
=
IPA_NONE
;
{
neighbor
*
n1
,
*
n2
;
n1
=
neigh_find
(
p
,
&
s
->
daddr
,
0
);
n1
=
neigh_find
(
p
,
&
s
->
daddr
,
0
);
/* FIXME, mj: this is neccessary for responses, still it is too complicated for common case */
n2
=
neigh_find
(
p
,
&
e
->
nexthop
,
0
);
if
(
n1
->
iface
==
n2
->
iface
)
packet
->
block
[
i
].
nexthop
=
e
->
nexthop
;
...
...
@@ -221,7 +220,7 @@ advertise_entry( struct proto *p, struct rip_block *b, ip_addr whotoldme )
#endif
A
.
from
=
whotoldme
;
/*
FIXME: Chec
k if destination looks valid - ie not net 0 or 127 */
/*
No need to loo
k if destination looks valid - ie not net 0 or 127
-- core will do for us.
*/
neighbor
=
neigh_find
(
p
,
&
A
.
gw
,
0
);
if
(
!
neighbor
)
{
...
...
Write
Preview
Supports
Markdown
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