On 29.05.20 14:22, Mira Limbeck wrote: > The combogrid contains all valid icmp types that iptables accepts. In > addition to the names, the Type[/Code] value is shown as well. But > specifying Type[/Code] is not supported. > > As the simple solution with setStore() does not work to change the store > for the combogrid, we simply have 2 different ICMPTypeSelectors, one for > IPv4, the other for IPv6, which are switched depending on the specified > protocol. > > As disabled fields don't submit their value, we can keep the values for > the dport and both icmp-type fields when switching protocols. > > Signed-off-by: Mira Limbeck <m.limb...@proxmox.com> > --- > v2: > - rebased on master > - removed unnecessary name switching and removing of values on proto > switch > > www/manager6/grid/FirewallRules.js | 164 ++++++++++++++++++++++++++++- > 1 file changed, 160 insertions(+), 4 deletions(-) > >
applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel