Univention Bugzilla – Attachment 8019 Details for
Bug 42155
Problem with gateway diagnostics - traceback
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
42155.patch (text/plain), 754 bytes, created by
Florian Best
on 2016-09-19 17:57:05 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-09-19 17:57:05 CEST
Size:
754 bytes
patch
obsolete
>diff --git a/management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/gateway.py b/management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/gateway.py >index d7845e9..9784fe4 100644 >--- a/management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/gateway.py >+++ b/management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/gateway.py >@@ -24,6 +24,8 @@ > def run(): > ucr.load() > gateway = ucr.get('gateway') >+ if not gateway: >+ raise Critical(_('The gateway is not set.')) > process = Popen(['/bin/ping', '-c3', '-w4', '-W4', gateway], stdout=PIPE, stderr=STDOUT) > stdout, stderr = process.communicate() > if process.returncode:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42155
: 8019