diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-26 12:39:23 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-26 12:39:23 +0200 |
commit | 8315f972b3cecb60cbd5879146c737f3f8d7a841 (patch) | |
tree | 2c593b1e3dd36fcc6803baa45039a4623f13b582 /shared/config-parser.c | |
parent | 06a2edfc72a894054ed710d338504242f15d6071 (diff) |
Update list.h to latest kernel version
Diffstat (limited to 'shared/config-parser.c')
-rw-r--r-- | shared/config-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c index a8e949d..386d5a2 100644 --- a/shared/config-parser.c +++ b/shared/config-parser.c @@ -178,7 +178,7 @@ strtosockaddrs(const char *str, struct cfg_value *rvalue, bool async) rvalue->type = CFG_VAL_TYPE_ADDRS; list = &rvalue->saddrs; - list_init(list); + INIT_LIST_HEAD(list); if (*str == '[') { /* IPv6, [a:b:c...h]:p or [*]:p */ |