diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-05 17:12:06 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-10 00:46:44 +0200 |
commit | 222eaaf937d3d39beaea1878e04f20b1689834ec (patch) | |
tree | 12c9288f9d362f471e403e55128585540db8ab88 /src/resolve/resolved-conf.c | |
parent | c1f848d73c076527b617c132d7dd3cdb1699e2b8 (diff) | |
download | systemd-222eaaf937d3d39beaea1878e04f20b1689834ec.tar.gz |
Get rid of in_addr_port_from_string_auto() again
With the commit "shared/socket-netlink: only allow ifindex if explicitly supported"
this helper is not necessary anymore.
Diffstat (limited to 'src/resolve/resolved-conf.c')
-rw-r--r-- | src/resolve/resolved-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c index 184df0337f..08655e115d 100644 --- a/src/resolve/resolved-conf.c +++ b/src/resolve/resolved-conf.c @@ -423,7 +423,7 @@ int config_parse_dns_stub_listener_extra( } } - r = in_addr_port_from_string_auto(p, &stub->family, &stub->address, &stub->port); + r = in_addr_port_ifindex_name_from_string_auto(p, &stub->family, &stub->address, &stub->port, NULL, NULL); if (r < 0) { log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse address in %s=%s, ignoring assignment: %m", |