From 43d8f1cc9cd5190858ed7220339c0a147cc68dd2 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 12 Sep 2011 12:04:53 +0000 Subject: Fixes #1696. Do not store temporary information under interfaces section during wizards since this might generate a message to netgraph that triggers a panic. --- usr/local/www/wizards/setup_wizard.xml | 49 ++++++++++++++++------------------ 1 file changed, 23 insertions(+), 26 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml index 08870e1..a3607e6 100644 --- a/usr/local/www/wizards/setup_wizard.xml +++ b/usr/local/www/wizards/setup_wizard.xml @@ -278,31 +278,31 @@ PPPoE Username input - interfaces->tmp->username + wizardtemp->wan->username PPPoE Password input - interfaces->tmp->password + wizardtemp->wan->password PPPoE Service name input Hint: this field can usually be left empty - interfaces->tmp->provider + wizardtemp->wan->provider PPPoE Dial on demand Enable Dial-On-Demand mode checkbox This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected. - interfaces->tmp->ondemand + wizardtemp->wan->ondemand PPPoE Idle timeout input If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature. - interfaces->tmp->idletimeout + wizardtemp->wan->idletimeout PPTP configuration @@ -311,19 +311,19 @@ PPTP Username input - interfaces->tmp->pptpusername + wizardtemp->wan->pptpusername PPTP Password input - interfaces->tmp->pptppassword + wizardtemp->wan->pptppassword true PPTP Local IP Address input / - interfaces->tmp->localip + wizardtemp->wan->localip ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ PPTP Local IP Address field is invalid @@ -332,12 +332,12 @@ true true pptplocalsubnet - interfaces->tmp->subnet + wizardtemp->wan->subnet subnet_select PPTP Remote IP Address - interfaces->tmp->gateway + wizardtemp->wan->gateway input ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ PPTP Remote IP Address field is invalid @@ -346,13 +346,13 @@ PPTP Dial on demand Enable Dial-On-Demand mode checkbox - interfaces->tmp->pptpondemand + wizardtemp->wan->pptpondemand This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected. PPTP Idle timeout input - interfaces->tmp->pptpidletimeout + wizardtemp->wan->pptpidletimeout If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature. @@ -386,8 +386,6 @@ -- cgit v1.1