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
afbc41ab
Commit
afbc41ab
authored
Apr 14, 1999
by
Pavel Machek
Browse files
SImplify code a tiny bit.
parent
b11d8a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/rip/rip.c
View file @
afbc41ab
...
...
@@ -221,7 +221,7 @@ advertise_entry( struct proto *p, struct rip_block *b, ip_addr whotoldme )
/* set to: interface of nexthop */
a
=
rta_lookup
(
&
A
);
if
(
!
ipa_equal
(
ipa_mkmask
(
ipa_mklen
(
b
->
netmask
)
),
b
->
netmask
))
{
if
(
ipa_mklen
(
b
->
netmask
)
==-
1
)
{
log
(
L_ERR
"%I asked me to route %I/%I, but that is not valid netmask."
,
A
.
from
,
b
->
network
,
b
->
netmask
);
return
;
}
...
...
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