diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-06-10 01:58:22 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-06-10 01:58:22 -0400 |
commit | c43d7a4ec17aa30de383968797b96a2c557cbd50 (patch) | |
tree | a02f7be5eda998a4ef4e779dbd73cbd01ec6a03a /config/openbgpd/openbgpd.xml | |
parent | 3cadd57113a721bf41344f701d396e4964965ffb (diff) | |
download | pfsense-packages-c43d7a4ec17aa30de383968797b96a2c557cbd50.tar.gz pfsense-packages-c43d7a4ec17aa30de383968797b96a2c557cbd50.tar.bz2 pfsense-packages-c43d7a4ec17aa30de383968797b96a2c557cbd50.zip |
Add input validation for most fields. Remove broken input validation that made editing groups impossible.
Still don't have input validation for parameters, nor validation ensuring groups that are in use cannot be deleted.
Diffstat (limited to 'config/openbgpd/openbgpd.xml')
-rw-r--r-- | config/openbgpd/openbgpd.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/openbgpd/openbgpd.xml b/config/openbgpd/openbgpd.xml index f1130720..2d28de0f 100644 --- a/config/openbgpd/openbgpd.xml +++ b/config/openbgpd/openbgpd.xml @@ -132,7 +132,7 @@ <field> <fielddescr>Listen on IP</fielddescr> <fieldname>listenip</fieldname> - <description>Specify the local IP address bgpd(8) should listen on.</description> + <description>Specify the local IP address bgpd(8) should listen on, or leave blank to bind to all IPs.</description> <type>input</type> </field> @@ -166,4 +166,7 @@ <custom_php_resync_config_command> openbgpd_install_conf(); </custom_php_resync_config_command> + <custom_php_validation_command> + bgpd_validate_input(); + </custom_php_validation_command> </packagegui> |