View | Details | Raw Unified | Return to bug 42155
Collapse All | Expand All

(-)a/management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/gateway.py (+2 lines)
 Lines 24-29    Link Here 
24
def run():
24
def run():
25
	ucr.load()
25
	ucr.load()
26
	gateway = ucr.get('gateway')
26
	gateway = ucr.get('gateway')
27
	if not gateway:
28
		raise Critical(_('The gateway is not set.'))
27
	process = Popen(['/bin/ping', '-c3', '-w4', '-W4', gateway], stdout=PIPE, stderr=STDOUT)
29
	process = Popen(['/bin/ping', '-c3', '-w4', '-W4', gateway], stdout=PIPE, stderr=STDOUT)
28
	stdout, stderr = process.communicate()
30
	stdout, stderr = process.communicate()
29
	if process.returncode:
31
	if process.returncode:

Return to bug 42155