Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolvctl: only remove protocol after last dot when mangling ifname f…
…or resolvconf ifname_resolvconf_mangle is supposed to remove protocol suffixes like .dhcp from interface names. But this removed also valid parts of the ifname like VLAN IDs, e.g. enp2s0u4.72.dhcp -> enp2s0u4 instead of enp2s0u4.72 After this change, everything behind the last dot is removed instead of the first.
- Loading branch information