Skip to content

Commit

Permalink
Fix softflow input validation. Issue #10220
Browse files Browse the repository at this point in the history
  • Loading branch information
vktg committed Feb 8, 2020
1 parent ea2ba19 commit c8e2fa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net-mgmt/pfSense-pkg-softflowd/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= pfSense-pkg-softflowd
PORTVERSION= 1.2.5
PORTVERSION= 1.2.6
CATEGORIES= net-mgmt
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function validate_form_softflowd($post, &$input_errors) {
if (!is_port($post['port'])) {
$input_errors[] = "You must specify a valid port number in the 'Port' field";
}
if (!in_array($post['version'], array(1, 5, 9, 10))) {
if (!in_array($post['version'], array(1, 5, 9, 10, 'psamp'))) {
$input_errors[] = 'You must specify a netflow version';
}
if (!in_array($post['flowtracking'], array("ether", "vlan", "full", "proto", "ip"))) {
Expand Down

0 comments on commit c8e2fa5

Please sign in to comment.