]> git.ozlabs.org Git - ppp.git/commitdiff
Deduplicate ether_to_eui64() implementation (#204)
authorpali <7141871+pali@users.noreply.github.com>
Thu, 31 Dec 2020 22:54:37 +0000 (23:54 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 22:54:37 +0000 (09:54 +1100)
Now when get_first_ethernet() is implemented for both Linux and Solaris,
implementation of ether_to_eui64() function can use this function
get_first_ethernet() and therefore be system independent.

So change implementation of ether_to_eui64() to use get_first_ethernet()
function and move it from Linux and Solaris files to common ipv6cp.c file
where it is used.

Signed-off-by: Pali Rohár <pali@kernel.org>

No differences found