Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ntopng listen options #1398

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions net/pfSense-pkg-ntopng/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $FreeBSD$

PORTNAME= pfSense-pkg-ntopng
PORTVERSION= 5.6.0
PORTREVISION= 1
PORTVERSION= 6.2.0
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
4 changes: 2 additions & 2 deletions net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ function ntopng_sync_package() {
}
}
}
if (config_get_path('installedpackages/ntopng/config/0/server_ipv6') == "on") {
elseif (config_get_path('installedpackages/ntopng/config/0/server_ipv6') == "on") {
if ($iface == "All") {
$listen_array[] = "[::]:" . HTTP_PORT;
} else {
$addr = get_interface_ipv6($iface);
if (is_ipaddrv6($addr)) {
$listen_array[] = "{$addr}:" . HTTP_PORT;
$listen_array[] = "[{$addr}]:" . HTTP_PORT;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<default_value>on</default_value>
<description>
<![CDATA[
Enable listening on IPv4.
Enable listening on IPv4. Note that ntopng currently allows IPv4 or IPv6, but not both.
]]>
</description>
</field>
Expand All @@ -137,7 +137,7 @@
<type>checkbox</type>
<description>
<![CDATA[
Enable listening on IPv6.
Enable listening on IPv6. This setting is currently ignored if IPv4 is enabled.
]]>
</description>
</field>
Expand Down