openSUSE / wicked

Framework for network configuration
https://en.opensuse.org/Portal:Wicked
GNU General Public License v2.0
101 stars 50 forks source link

compat-suse: repair dummy interfaces (boo#1229555) #1031

Closed tacerus closed 2 months ago

tacerus commented 2 months ago

Commit 98b4fb3359ebf48e2466338df2b89e263e0aa609 introduced changes causing dummy interaces configured using "INTERFACETYPE=dummy" or "DUMMY=yes" to presumably inadvertently no longer be recognized. Restore functionality of these settings by only calling the new pattern matching logic if a prior iftype lookup did not yield success. This is needed to continue supporting configuration of dummy interfaces not matching the predefined naming scheme.

The following constellations have been tested:

Fixes: 98b4fb3359eb ("compat-suse: fix dummy type detection from ifname") Signed-off-by: Georg Pfuetzenreuter mail@georg-pfuetzenreuter.net

tacerus commented 2 months ago

Thanks for merging, could we get it ported to 15 SP6?