[pve-devel] applied: [PATCH manager] FirewallOptions: fix DHCP default value

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Oct 31 08:17:25 CET 2017


applied

On Mon, Oct 30, 2017 at 02:26:00PM +0100, Dominik Csapak wrote:
> we always had dhcp enabled by default in the backend, but
> showed 'Disabled' on the gui, this patch show 'Enabled' by default
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/grid/FirewallOptions.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/grid/FirewallOptions.js b/www/manager6/grid/FirewallOptions.js
> index eaaba254..60c09ee5 100644
> --- a/www/manager6/grid/FirewallOptions.js
> +++ b/www/manager6/grid/FirewallOptions.js
> @@ -116,7 +116,7 @@ Ext.define('PVE.FirewallOptions', {
>  	    add_log_row('smurf_log_level');
>  	} else if (me.fwtype === 'vm') {
>  	    add_boolean_row('enable', gettext('Firewall'), 0);
> -	    add_boolean_row('dhcp', 'DHCP', 0);
> +	    add_boolean_row('dhcp', 'DHCP', 1);
>  	    add_boolean_row('ndp', 'NDP', 1);
>  	    add_boolean_row('radv', gettext('Router Advertisement'), 0);
>  	    add_boolean_row('macfilter', gettext('MAC filter'), 1);
> -- 
> 2.11.0




More information about the pve-devel mailing list