diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-10-21 12:02:53 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-21 12:02:53 -0200 |
commit | de3045982be1dcc509e7e519b63c147ed4e15148 (patch) | |
tree | b8b462ef8ab70ddcc820e65b62b4a47aac3f562c | |
parent | e782e8f43f2c09a2f9cf4ab952ee718d71fc9237 (diff) | |
download | pfsense-de3045982be1dcc509e7e519b63c147ed4e15148.zip pfsense-de3045982be1dcc509e7e519b63c147ed4e15148.tar.gz |
Limit CIDR choices for IPv4 on GRE interface, fixes #3277
-rw-r--r-- | usr/local/www/interfaces_gre_edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php index 4551aa0..984def3 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -131,6 +131,7 @@ include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> +<script type="text/javascript" src="/javascript/jquery.ipv4v6ify.js"></script> <?php include("fbegin.inc"); ?> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="interfaces_gre_edit.php" method="post" name="iform" id="iform"> @@ -175,8 +176,8 @@ include("head.inc"); <tr> <td valign="top" class="vncellreq"><?=gettext("GRE tunnel remote address ");?></td> <td class="vtable"> - <input name="tunnel-remote-addr" type="text" class="formfld unknown" id="tunnel-remote-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-remote-addr']);?>" /> - <select name="tunnel-remote-net" class="formselect" id="tunnel-remote-net"> + <input name="tunnel-remote-addr" type="text" class="formfld unknown ipv4v6" id="tunnel-remote-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-remote-addr']);?>" /> + <select name="tunnel-remote-net" class="formselect ipv4v6" id="tunnel-remote-net"> <?php for ($i = 128; $i > 0; $i--) { echo "<option value=\"{$i}\""; |