network: avoid address section freed
Otherwise, if HomeAddress= or friends are specified at the first line of a section, then its assignment will be ignored.
This commit is contained in:
@@ -904,6 +904,7 @@ int config_parse_address_flags(const char *unit,
|
||||
else if (streq(lvalue, "AutoJoin"))
|
||||
n->autojoin = r;
|
||||
|
||||
n = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user