projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use xoshiro256** to generate pseudo-random numbers.
[tinc]
/
src
/
vde_device.c
diff --git
a/src/vde_device.c
b/src/vde_device.c
index
f30c3e3
..
4017321
100644
(file)
--- a/
src/vde_device.c
+++ b/
src/vde_device.c
@@
-35,15
+35,15
@@
static char *group = NULL;
static const char *device_info = "VDE socket";
static bool setup_device(void) {
static const char *device_info = "VDE socket";
static bool setup_device(void) {
- if(!get_config_string(lookup_config(config_tree, "Device"), &device)) {
+ if(!get_config_string(lookup_config(
&
config_tree, "Device"), &device)) {
xasprintf(&device, RUNSTATEDIR "/vde.ctl");
}
xasprintf(&device, RUNSTATEDIR "/vde.ctl");
}
- get_config_string(lookup_config(config_tree, "Interface"), &iface);
+ get_config_string(lookup_config(
&
config_tree, "Interface"), &iface);
- get_config_int(lookup_config(config_tree, "VDEPort"), &port);
+ get_config_int(lookup_config(
&
config_tree, "VDEPort"), &port);
- get_config_string(lookup_config(config_tree, "VDEGroup"), &group);
+ get_config_string(lookup_config(
&
config_tree, "VDEGroup"), &group);
struct vde_open_args args = {
.port = port,
struct vde_open_args args = {
.port = port,