]> git.proxmox.com Git - pve-common.git/commit
interfaces: support stanzas without types/methods
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 23 Apr 2024 13:03:17 +0000 (15:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 13:19:43 +0000 (15:19 +0200)
commitb518bbd5f9a256b883a8da34d4af31ec2d04e6f4
treec58fede63159829d7138775e6409d423f8c18fe4
parenta061517cdd60dceec14af449fff26a7a5349a6c6
interfaces: support stanzas without types/methods

This is allowed in ifupdown2 and previously interfaces named
'vmbr\d+' were recognized as bridges even if they used this mode.
With commit e68ebda4f109 this is no longer the case.

Fixes: e68ebda4f109 ("fix #545: interfaces: allow arbitrary bridge names in network config")
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/INotify.pm
test/etc_network_interfaces/t.ifupdown2-typeless.pl [new file with mode: 0644]