mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #155 from phil-davis/master
Only display "No OpenVPN instance defined" if there really are none.
This commit is contained in:
commit
604cb3b1db
@ -304,7 +304,7 @@ if ($DisplayNote) {
|
||||
echo "<br/><b>" . gettext("NOTE") . ":</b> " . gettext("You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen");
|
||||
}
|
||||
|
||||
if ((empty($clients)) && (empty($servers))) {
|
||||
if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) {
|
||||
echo gettext("No OpenVPN instance defined");
|
||||
}
|
||||
?>
|
||||
|
||||
@ -247,7 +247,7 @@ if ($DisplayNote) {
|
||||
echo "<br/><b>NOTE:</b> You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen";
|
||||
}
|
||||
|
||||
if ((empty($clients)) && (empty($servers))) {
|
||||
if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) {
|
||||
echo "No OpenVPN instance defined";
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user