summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-02-12 01:20:33 -0800
committerNOYB <Al_Stu@Frontier.com>2016-02-12 01:20:33 -0800
commita08edc359181d8034625912d060e3a2e09b54167 (patch)
tree34f1ed40ee1254f03946709d4a057767eab5f7fd /src
parentcc293ac0f602ab60ede5be5a6d931362789e4c3c (diff)
downloadpfsense-a08edc359181d8034625912d060e3a2e09b54167.zip
pfsense-a08edc359181d8034625912d060e3a2e09b54167.tar.gz
Firewall / Rules - Prevent Separator Orphanage
Prevent orphaning separator(s) at the bottom when deleting the rule at bottom of the list.
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc
index 04028c5..2e96a7b 100644
--- a/src/etc/inc/filter.inc
+++ b/src/etc/inc/filter.inc
@@ -4267,7 +4267,7 @@ function ifridx($if, $ridx) {
$i++;
}
}
- return $i;
+ return $ifridx;
}
/* display rules separators */
OpenPOWER on IntegriCloud