Project

General

Profile

« Previous | Next » 

Revision 276efd64

Added by Chris Buechler over 10 years ago

touch up text

View differences:

etc/inc/ipsec.inc
463 463
	global $config, $g, $custom_listtags;
464 464

  
465 465
	if (!file_exists("{$g['varrun_path']}/charon.xml")) {
466
		log_error("IPsec daemon seems to have issues or not running!");
466
		log_error("IPsec daemon not running or has a problem!");
467 467
		return;
468 468
	}
469 469

  
470 470
	$fd = @fsockopen("unix://{$g['varrun_path']}/charon.xml");
471 471
	if (!$fd) {
472
		log_error("Could not read status from ipsec");
472
		log_error("Could not read status from IPsec");
473 473
		return;
474 474
	}
475 475
	$query = '<?xml version="1.0"?><message xmlns="http://www.strongswan.org/smp/1.0" type="request" id="1">';
......
607 607
	$_gb = exec("/usr/local/sbin/ipsec stroke leases > {$g['tmp_path']}/strongswan_leases.xml");
608 608

  
609 609
	if (!file_exists("{$g['tmp_path']}/strongswan_leases.xml")) {
610
		log_error(gettext("IPsec daemon seems to have issues or not running! Could not display mobile user stats!"));
610
		log_error(gettext("Unable to find IPsec daemon leases file. Could not display mobile user stats!"));
611 611
		return array();
612 612
	}
613 613

  

Also available in: Unified diff