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
92ef4fa7
Commit
92ef4fa7
authored
May 08, 2000
by
Martin Mareš
Browse files
Preference is a configurable parameter.
parent
0117d004
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/rip/rip.c
View file @
92ef4fa7
...
...
@@ -819,7 +819,6 @@ rip_rte_remove(net *net, rte *rte)
void
rip_init_instance
(
struct
proto
*
p
)
{
p
->
preference
=
DEF_PREF_RIP
;
p
->
if_notify
=
rip_if_notify
;
p
->
rt_notify
=
rip_rt_notify
;
p
->
import_control
=
rip_import_control
;
...
...
@@ -834,6 +833,7 @@ void
rip_init_config
(
struct
rip_proto_config
*
c
)
{
init_list
(
&
c
->
iface_list
);
c
->
c
.
preference
=
DEF_PREF_RIP
;
c
->
infinity
=
16
;
c
->
port
=
520
;
c
->
period
=
30
;
...
...
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