Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
e5ff7929
Commit
e5ff7929
authored
Jan 23, 2018
by
Ondřej Zajíček
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KRT: Remove useless option
parent
def6efa1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
sysdep/unix/krt.Y
sysdep/unix/krt.Y
+0
-1
sysdep/unix/krt.c
sysdep/unix/krt.c
+1
-1
sysdep/unix/krt.h
sysdep/unix/krt.h
+0
-1
No files found.
sysdep/unix/krt.Y
View file @
e5ff7929
...
...
@@ -78,7 +78,6 @@ kern_item:
cf_error("Learning of kernel routes not supported on this platform");
#endif
}
| DEVICE ROUTES bool { THIS_KRT->devroutes = $3; }
| GRACEFUL RESTART bool { THIS_KRT->graceful_restart = $3; }
| MERGE PATHS bool kern_mp_limit {
krt_set_merge_paths(this_channel, $3, $4);
...
...
sysdep/unix/krt.c
View file @
e5ff7929
...
...
@@ -1159,7 +1159,7 @@ krt_reconfigure(struct proto *p, struct proto_config *CF)
return
0
;
/* persist, graceful restart need not be the same */
return
o
->
scan_time
==
n
->
scan_time
&&
o
->
learn
==
n
->
learn
&&
o
->
devroutes
==
n
->
devroutes
;
return
o
->
scan_time
==
n
->
scan_time
&&
o
->
learn
==
n
->
learn
;
}
struct
proto_config
*
...
...
sysdep/unix/krt.h
View file @
e5ff7929
...
...
@@ -49,7 +49,6 @@ struct krt_config {
btime
scan_time
;
/* How often we re-scan routes */
int
persist
;
/* Keep routes when we exit */
int
learn
;
/* Learn routes from other sources */
int
devroutes
;
/* XXX: remove */
int
graceful_restart
;
/* Regard graceful restart recovery */
};
...
...
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