diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-21 20:57:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-22 09:55:40 +0200 |
commit | e6666353c41de8ad675d4157cdbe848a42ba6385 (patch) | |
tree | f7df2792c422f50444e0d35afd65fa7ef2b09c2d /src/system | |
parent | 9f8d083ccd303c1a6fc34bbe9e17882e50497633 (diff) | |
download | vyos-1x-e6666353c41de8ad675d4157cdbe848a42ba6385.tar.gz vyos-1x-e6666353c41de8ad675d4157cdbe848a42ba6385.zip |
vyos.ifconfig: provide generic get_mac_synthetic() method
WireGuard, Tunnel and also PPPoE all need a ways to calculate a synthetic MAC
address used for the EUI64 link-local addresses. Instead of copying the code
from Tunnel to WireGuard to PPPoE, use a generic implementation.
(cherry picked from commit b7d30137b17da49ed5099d4d96659b363fc7bcc9)
Diffstat (limited to 'src/system')
0 files changed, 0 insertions, 0 deletions