Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> --- src/PVE/Firewall.pm | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index ac48507..eb07be0 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -919,6 +919,14 @@ sub get_etc_protocols { return $etc_protocols; } +my $etc_ethertypes; + +sub get_etc_ethertypes { + $etc_ethertypes = parse_protocol_file('/etc/ethertypes') + if !$etc_ethertypes; + return $etc_ethertypes; +} + my $__local_network; sub local_network { -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel