Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joanne Hugé
re6stnet
Commits
94d6954b
Commit
94d6954b
authored
Oct 06, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename hmac parameters to match babel 1.12.1
parent
484aef7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
re6st/plib.py
re6st/plib.py
+2
-2
No files found.
re6st/plib.py
View file @
94d6954b
...
...
@@ -85,10 +85,10 @@ def router(ip, ip4, src, hello_interval, log_path, state_path, pidfile,
'-C'
,
'redistribute ip %s/%s eq %s'
%
(
ip
,
n
,
n
)]
if
hmac_sign
:
def
key
(
cmd
,
id
,
value
):
cmd
+=
'-C'
,
(
'key type blake2s id %s value %s'
%
cmd
+=
'-C'
,
(
'key type blake2s
128
id %s value %s'
%
(
id
,
value
.
encode
(
'hex'
)))
key
(
cmd
,
'sign'
,
hmac_sign
)
default
+=
'
hmac
sign'
default
+=
'
key
sign'
if
hmac_accept
is
not
None
:
if
hmac_accept
:
key
(
cmd
,
'accept'
,
hmac_accept
)
...
...
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