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
375ea5ff
Commit
375ea5ff
authored
May 30, 2021
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename interface option hmac to key.
parent
1b9abc4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
babeld.man
babeld.man
+2
-2
configuration.c
configuration.c
+1
-1
No files found.
babeld.man
View file @
375ea5ff
...
@@ -321,7 +321,7 @@ routes. The default is 100.
...
@@ -321,7 +321,7 @@ routes. The default is 100.
.RB { hmac-sha256 | blake2s } \c
.RB { hmac-sha256 | blake2s } \c
.BI " value" " value"
.BI " value" " value"
Configure a key for use with the
Configure a key for use with the
.B
hmac
.B
key
interface option. The
interface option. The
.B type
.B type
is one of
is one of
...
@@ -465,7 +465,7 @@ and
...
@@ -465,7 +465,7 @@ and
.BR 0
.BR 0
otherwise.
otherwise.
.TP
.TP
.BI
hmac
" id"
.BI
key
" id"
Enable HMAC security on this interface, and use the key
Enable HMAC security on this interface, and use the key
.IR id .
.IR id .
.TP
.TP
...
...
configuration.c
View file @
375ea5ff
...
@@ -680,7 +680,7 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
...
@@ -680,7 +680,7 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
if
(
c
<
-
1
||
penalty
<=
0
||
penalty
>
0xFFFF
)
if
(
c
<
-
1
||
penalty
<=
0
||
penalty
>
0xFFFF
)
goto
error
;
goto
error
;
if_conf
->
max_rtt_penalty
=
penalty
;
if_conf
->
max_rtt_penalty
=
penalty
;
}
else
if
(
strcmp
(
token
,
"
hmac
"
)
==
0
)
{
}
else
if
(
strcmp
(
token
,
"
key
"
)
==
0
)
{
char
*
key_id
;
char
*
key_id
;
struct
key
*
key
;
struct
key
*
key
;
c
=
getword
(
c
,
&
key_id
,
gnc
,
closure
);
c
=
getword
(
c
,
&
key_id
,
gnc
,
closure
);
...
...
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