Commit 2daf0e20 authored by Ad Schellevis's avatar Ad Schellevis

ipv4/v6 subnet selction, closes https://github.com/opnsense/core/issues/486

parent 7413cd78
......@@ -41,7 +41,7 @@ function hook_ipv4v6(classname, data_id, callback) {
$("#"+$(this).data(data_id)).change(function(){
var itemValue = $(this).val();
$("#"+selectlist_id+" > option").each(function() {
if (parseInt($(this).val()) > 24 && itemValue.indexOf(":") == -1 ) {
if (parseInt($(this).val()) > 32 && itemValue.indexOf(":") == -1 ) {
$(this).addClass('hidden');
} else {
$(this).removeClass('hidden');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment