summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/load_balancer_virtual_server_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-03-27 22:15:20 +0545
committerPhil Davis <phil.davis@inf.org>2017-03-27 22:15:20 +0545
commit593e9fe32d2959cd823fe5da55714ccfb9a0e958 (patch)
treec3460883b4543db170ddbac303e199cb6673af33 /src/usr/local/www/load_balancer_virtual_server_edit.php
parent7e50d1e7357e4b9dc8a4283971c8bfe0312c5d8b (diff)
downloadpfsense-593e9fe32d2959cd823fe5da55714ccfb9a0e958.zip
pfsense-593e9fe32d2959cd823fe5da55714ccfb9a0e958.tar.gz
Add underscores to is_port* function names
Diffstat (limited to 'src/usr/local/www/load_balancer_virtual_server_edit.php')
-rw-r--r--src/usr/local/www/load_balancer_virtual_server_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/load_balancer_virtual_server_edit.php b/src/usr/local/www/load_balancer_virtual_server_edit.php
index 17fd92a..9d5463c 100644
--- a/src/usr/local/www/load_balancer_virtual_server_edit.php
+++ b/src/usr/local/www/load_balancer_virtual_server_edit.php
@@ -88,7 +88,7 @@ if ($_POST['save']) {
$input_errors[] = gettext("The 'name' field must be 32 characters or less.");
}
- if ($_POST['port'] != "" && !is_portoralias($_POST['port'])) {
+ if ($_POST['port'] != "" && !is_port_or_alias($_POST['port'])) {
$input_errors[] = gettext("The port must be an integer between 1 and 65535, a port alias, or left blank.");
}
OpenPOWER on IntegriCloud