Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    "Dashboard -> Services Status" widget issue

    Scheduled Pinned Locked Moved webGUI
    1 Posts 1 Posters 191 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      somevar
      last edited by

      If i use FQDN in description of openvpn service, the line will be truncated after the first dot because:

      $service_desc = explode(".",$service['description']);

      https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/widgets/widgets/services_status.widget.php
      line 103

      For example: for desctiption «Tunnel to gw.domain.local» i will see «OpenVPN Server: Tunnel to gw»

      I did changed line 103 to:

      $service_desc = explode(". ",$service['description']);

      Dot + space instead dot only. Because sentences are normaly separated by a dot and a space.

      And now, for example: for description «Tunnel to gw.domain.local. Some huge text...» i will see «OpenVPN Server: Tunnel to gw.domain.local»

      Sorry for my English, please.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.