projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GitHub CI: change build system to meson
[tinc]
/
src
/
raw_socket_device.c
diff --git
a/src/raw_socket_device.c
b/src/raw_socket_device.c
index
4dd18e2
..
8463502
100644
(file)
--- a/
src/raw_socket_device.c
+++ b/
src/raw_socket_device.c
@@
-37,11
+37,11
@@
static bool setup_device(void) {
struct ifreq ifr;
struct sockaddr_ll sa;
struct ifreq ifr;
struct sockaddr_ll sa;
- if(!get_config_string(lookup_config(config_tree, "Interface"), &iface)) {
+ if(!get_config_string(lookup_config(
&
config_tree, "Interface"), &iface)) {
iface = xstrdup("eth0");
}
iface = xstrdup("eth0");
}
- if(!get_config_string(lookup_config(config_tree, "Device"), &device)) {
+ if(!get_config_string(lookup_config(
&
config_tree, "Device"), &device)) {
device = xstrdup(iface);
}
device = xstrdup(iface);
}