diff options
author | jim-p <jimp@pfsense.org> | 2015-06-16 11:10:58 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-16 11:10:58 -0400 |
commit | 7a29e654276017c3fe13bc1b3b274fd5ef1adffc (patch) | |
tree | 0f4bda5f2c6492346271d90bfc8f8b217d2690be /usr/local/www/vpn_ipsec_settings.php | |
parent | 5ef9708e4d1accdf1b1db7c6c2c8541178368f60 (diff) | |
download | pfsense-7a29e654276017c3fe13bc1b3b274fd5ef1adffc.zip pfsense-7a29e654276017c3fe13bc1b3b274fd5ef1adffc.tar.gz |
Encoding in vpn_ipsec_settings.php
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r-- | usr/local/www/vpn_ipsec_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php index 2be7754..075cbc9 100644 --- a/usr/local/www/vpn_ipsec_settings.php +++ b/usr/local/www/vpn_ipsec_settings.php @@ -356,7 +356,7 @@ function maxmss_checked(obj) { <input name="maxmss_enable" type="checkbox" id="maxmss_enable" value="yes" <?php if ($pconfig['maxmss_enable'] == true) echo "checked=\"checked\""; ?> onclick="maxmss_checked(this)" /> <strong><?=gettext("Enable MSS clamping on VPN traffic"); ?></strong> <br /> - <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo $pconfig['maxmss']; else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled=\"disabled\""; ?> /> + <input name="maxmss" id="maxmss" value="<?php if ($pconfig['maxmss'] <> "") echo htmlspecialchars($pconfig['maxmss']); else "1400"; ?>" class="formfld unknown" <?php if ($pconfig['maxmss_enable'] == false) echo "disabled=\"disabled\""; ?> /> <br /> <?=gettext("Enable MSS clamping on TCP flows over VPN. " . "This helps overcome problems with PMTUD on IPsec VPN links. If left blank, the default value is 1400 bytes. "); ?> |