Skip to content

Commit

Permalink
Merge 04179f7 into ac62e28
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jun 17, 2019
2 parents ac62e28 + 04179f7 commit 76800e9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions package/yast2-network.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 17 15:47:45 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

- bsc#1133442
- Increased the DHCP timeout when NetworkManager is in use to
its default (45 seconds).
- 3.4.9

-------------------------------------------------------------------
Mon Jun 10 11:55:48 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-network.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-network
Version: 3.4.8
Version: 3.4.9
Release: 0
BuildArch: noarch

Expand Down
4 changes: 3 additions & 1 deletion src/modules/Lan.rb
Expand Up @@ -478,6 +478,8 @@ def writeIPv6
nil
end

NM_DHCP_TIMEOUT = 45

# Update the SCR according to network settings
# @return true on success
def Write
Expand Down Expand Up @@ -616,7 +618,7 @@ def Write

if NetworkService.is_network_manager
network = false
timeout = 15
timeout = NM_DHCP_TIMEOUT
while Ops.greater_than(timeout, 0)
if NetworkService.isNetworkRunning
network = true
Expand Down

0 comments on commit 76800e9

Please sign in to comment.