summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-rule.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 20:57:17 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-21 21:02:29 +0200
commitb7d30137b17da49ed5099d4d96659b363fc7bcc9 (patch)
treefc973bb45561d79951ab185b771c572aeb3f167e /interface-definitions/include/nat-rule.xml.i
parent8c1c9e1c37be9e88e8a7ea0182a43a3396eff623 (diff)
downloadvyos-1x-b7d30137b17da49ed5099d4d96659b363fc7bcc9.tar.gz
vyos-1x-b7d30137b17da49ed5099d4d96659b363fc7bcc9.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.
Diffstat (limited to 'interface-definitions/include/nat-rule.xml.i')
0 files changed, 0 insertions, 0 deletions