Skip to content

Commit

Permalink
php-pfSense: Actually fetch rules in pfSense_pf_cp_get_eth_last_activ…
Browse files Browse the repository at this point in the history
…e. Fixes #13147
  • Loading branch information
Reid Linnemann committed May 11, 2022
1 parent 26a7a24 commit 96fb485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devel/php-pfSense-module/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= pfSense
PORTVERSION= 0.79
PORTVERSION= 0.80
CATEGORIES= devel
MASTER_SITES= #
DISTFILES= #
Expand Down
2 changes: 2 additions & 0 deletions devel/php-pfSense-module/files/pfSense.c
Original file line number Diff line number Diff line change
Expand Up @@ -4547,6 +4547,8 @@ PHP_FUNCTION(pfSense_pf_cp_get_eth_last_active) {

if (path_len > MAXPATHLEN)
goto error_out;
if (pfctl_get_eth_rules_info(dev, &info, path))
goto error_out;

array_init(return_value);
for (int nr = 0; nr < info.nr; nr++) {
Expand Down

0 comments on commit 96fb485

Please sign in to comment.