summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/loopback.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 20:57:17 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-22 09:55:40 +0200
commite6666353c41de8ad675d4157cdbe848a42ba6385 (patch)
treef7df2792c422f50444e0d35afd65fa7ef2b09c2d /python/vyos/ifconfig/loopback.py
parent9f8d083ccd303c1a6fc34bbe9e17882e50497633 (diff)
downloadvyos-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 'python/vyos/ifconfig/loopback.py')
0 files changed, 0 insertions, 0 deletions