mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-09 16:50:31 +00:00
corrections
This commit is contained in:
parent
57b6edcb00
commit
db42aabede
10
admin.md
10
admin.md
@ -171,7 +171,7 @@ For each adapter:
|
||||
- `tap_mode` (`bool`) shows whether or not the interface is in TAP mode (if `false` then TUN mode is implied)
|
||||
- `mtu` (`uint8`) contains the MTU of the local TUN/TAP adapter
|
||||
|
||||
#### `getAllowedBoxPubs`
|
||||
#### `getAllowedEncryptionPublicKeys`
|
||||
|
||||
Expects no additional request fields.
|
||||
|
||||
@ -179,10 +179,10 @@ Returns zero or more strings containing the allowed box public keys.
|
||||
|
||||
If zero strings are returned then it is implied that all connections are permitted.
|
||||
|
||||
#### `addAllowedBoxPub`
|
||||
#### `addAllowedEncryptionPublicKey`
|
||||
|
||||
Expects:
|
||||
- `box_pub_key` (`string`) for the public key to add
|
||||
- `box_pub_key=` `string` for the public key to add
|
||||
|
||||
Adds a new allowed box pub key.
|
||||
|
||||
@ -190,10 +190,10 @@ Returns:
|
||||
- Zero or more successful `string` box pub keys in the `"added"` section
|
||||
- Zero or more failed `string` box pub keys in the `"not_added"` section
|
||||
|
||||
#### `removeAllowedBoxPub`
|
||||
#### `removeAllowedEncryptionPublicKey`
|
||||
|
||||
Expects:
|
||||
- `box_pub_key` (`string`) for the public key to remove
|
||||
- `box_pub_key=` `string` for the public key to remove
|
||||
|
||||
Removes an existing box pub key.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user