diff options
Diffstat (limited to 'usr')
-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}\""; |