]> git.proxmox.com Git - pve-common.git/commit
network: tap plug: auto-disable learning if bridge-disable-mac-learning is set
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 12:56:45 +0000 (13:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Nov 2022 12:56:50 +0000 (13:56 +0100)
commitac39d36f577fff58e50ec57bbbf975c49427f610
treea0d8b007c587084879fee9500942176d54e2f6e8
parent65ca1743412e94068ee0319b3a5db10718351fdf
network: tap plug: auto-disable learning if bridge-disable-mac-learning is set

avoids that we need to repeat the same code hunk two times each for
CT and VM call sites.

If required it can be simply overridden by setting it explicitly on
call.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network.pm