From: Filipe Brandenburger Date: Tue, 26 Jun 2018 01:07:48 +0000 (-0700) Subject: resolvconf: fixes for the compatibility interface X-Git-Tag: v240~1034 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a01b3f35d7b6182c78b6973db8d99bdabd4f9c3;p=platform%2Fupstream%2Fsystemd.git resolvconf: fixes for the compatibility interface Also use compat_main() when called as `resolvconf`, since the interface is closer to that of `systemd-resolve`. Use a heap allocated string to set arg_ifname, since a stack allocated one would be lost after the function returns. (This last one broke the case where an interface name was suffixed with a dot, such as in `resolvconf -a tap0.dhcp`.) Tested: $ build/resolvconf -a nonexistent.abc