]> git.ozlabs.org Git - ppp.git/commit
pppd: Combine get_first_ethernet() and get_if_hwaddr() into one function (#207)
authorpali <7141871+pali@users.noreply.github.com>
Sat, 2 Jan 2021 03:27:13 +0000 (04:27 +0100)
committerGitHub <noreply@github.com>
Sat, 2 Jan 2021 03:27:13 +0000 (14:27 +1100)
commit952cfa5acc41ad4ceee160420a188a388bb340cf
treedba7225dd7b4d2e185375c07926f6f1cb53801da
parent18ad641f94c72e1dcdd8189b991c339e5bdde966
pppd: Combine get_first_ethernet() and get_if_hwaddr() into one function (#207)

On all places is just needed hardware address for the first ethernet-style
interface. So provide it by new get_first_ether_hwaddr() function.

Signed-off-by: Pali Rohár <pali@kernel.org>
pppd/ipv6cp.c
pppd/multilink.c
pppd/pppd.h
pppd/sys-linux.c
pppd/sys-solaris.c