Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
ae6a8f50
Commit
ae6a8f50
authored
Apr 13, 2015
by
Matthieu Boutier
Committed by
Juliusz Chroboczek
Apr 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Runtime option for using ipv6 subtrees.
parent
8950d3b2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
babeld.c
babeld.c
+1
-0
babeld.h
babeld.h
+1
-6
babeld.man
babeld.man
+4
-0
configuration.c
configuration.c
+3
-0
No files found.
babeld.c
View file @
ae6a8f50
...
...
@@ -60,6 +60,7 @@ int debug = 0;
int
link_detect
=
0
;
int
all_wireless
=
0
;
int
has_ipv6_subtrees
=
0
;
int
default_wireless_hello_interval
=
-
1
;
int
default_wired_hello_interval
=
-
1
;
int
resend_delay
=
-
1
;
...
...
babeld.h
View file @
ae6a8f50
...
...
@@ -80,12 +80,6 @@ THE SOFTWARE.
#endif
#endif
#ifdef IPV6_SUBTREES
#define has_ipv6_subtrees 1
#else
#define has_ipv6_subtrees 0
#endif
extern
struct
timeval
now
;
extern
int
debug
;
extern
time_t
reboot_time
;
...
...
@@ -96,6 +90,7 @@ extern int do_daemonise;
extern
const
char
*
logfile
,
*
pidfile
,
*
state_file
;
extern
int
link_detect
;
extern
int
all_wireless
;
extern
int
has_ipv6_subtrees
;
extern
unsigned
char
myid
[
8
];
...
...
babeld.man
View file @
ae6a8f50
...
...
@@ -188,6 +188,10 @@ This specifies whether to use a random router-id, and is
equivalent to the command-line option
.BR \-r .
.TP
.BR ipv6-subtrees " {" true | false }
This specifies whether to use native source-specific table rather than using
multiple tables with rules.
.TP
.BI debug " level"
This specifies the debugging level, and is equivalent to the command-line
option
...
...
configuration.c
View file @
ae6a8f50
...
...
@@ -691,6 +691,7 @@ parse_option(int c, gnc_t gnc, void *closure, char *token)
strcmp
(
token
,
"link-detect"
)
==
0
||
strcmp
(
token
,
"random-id"
)
==
0
||
strcmp
(
token
,
"daemonise"
)
==
0
||
strcmp
(
token
,
"ipv6-subtrees"
)
==
0
||
strcmp
(
token
,
"reflect-kernel-metric"
)
==
0
)
{
int
b
;
c
=
getbool
(
c
,
&
b
,
gnc
,
closure
);
...
...
@@ -705,6 +706,8 @@ parse_option(int c, gnc_t gnc, void *closure, char *token)
random_id
=
b
;
else
if
(
strcmp
(
token
,
"daemonise"
)
==
0
)
do_daemonise
=
b
;
else
if
(
strcmp
(
token
,
"ipv6-subtrees"
)
==
0
)
has_ipv6_subtrees
=
b
;
else
if
(
strcmp
(
token
,
"reflect-kernel-metric"
)
==
0
)
reflect_kernel_metric
=
b
;
else
...
...
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