Skip to content

Commit

Permalink
Use ifcfg instead of current number.
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Feb 14, 2018
1 parent 6432a6a commit 7692ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Lan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def proposable_as_bridge?(config)
# first configure all connected unconfigured devices with dhcp (with default parameters)
hwinfo = config.fetch("hwinfo", {})
if hwinfo.fetch("link", false) == true
log.warn("item number #{LanItems.current} has link:false detected")
log.warn("Ifcfg #{config["ifcfg"]} has link:false detected")
return false
end
if hwinfo.fetch("type", "") == "wlan"
Expand Down

0 comments on commit 7692ac4

Please sign in to comment.