Skip to content

Commit

Permalink
Merge pull request #1356 from yast/bridge_skip_firmware_configured
Browse files Browse the repository at this point in the history
Do not consider firmware configured interfaces as bridgeable ones (bsc#1218595)
  • Loading branch information
teclator authored Feb 7, 2024
2 parents 2d0498f + 433991c commit 1d8ba6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-network.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 16 10:34:01 UTC 2024 - Knut Anderssen <[email protected]>

- Consider firmware configured interfaces as non bridgeable
(bsc#1218595).
- 4.5.23

-------------------------------------------------------------------
Wed Dec 13 12:07:00 UTC 2023 - Knut Alejandro Anderssen González <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-network.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-network
Version: 4.5.22
Version: 4.5.23
Release: 0
Summary: YaST2 - Network Configuration
License: GPL-2.0-only
Expand Down
2 changes: 2 additions & 0 deletions src/lib/y2network/interface_config_builders/bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def interfaces
def bridgeable?(iface)
# cannot report itself
return false if iface.name == @name
# Do not add firmware configured interfaces (bsc#1218595)
return false if iface.firmware_configured?
return true unless yast_config.configured_interface?(iface.name)

config = yast_config.connections.by_name(iface.name)
Expand Down

0 comments on commit 1d8ba6a

Please sign in to comment.