From 0b305003deacf373aa7487056f200d9c3d508d0f Mon Sep 17 00:00:00 2001 From: Victek Date: Sun, 22 May 2011 09:17:53 +0700 Subject: [PATCH] nocat, change wan_iface --- release/src/router/rc/nocat.c | 14 ++++++-------- release/src/router/www/splashd.asp | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/release/src/router/rc/nocat.c b/release/src/router/rc/nocat.c index fcb97d2c66..96d0b41421 100644 --- a/release/src/router/rc/nocat.c +++ b/release/src/router/rc/nocat.c @@ -31,16 +31,14 @@ int build_nocat_conf( void ) /* * settings that need to be set based on router configurations - * - * These are now autodetected on the device via: lan_ifname and wan_ifname + * Autodetected on the device: lan_ifname & NC_Iface variable */ - fprintf( fp, "InternalDevice\t%s\n", nvram_safe_get("lan_ifname")); - fprintf( fp, "ExternalDevice\t%s\n", nvram_safe_get("wan_ifname")); - fprintf( fp, "RouteOnly\t%s\n", "1" ); - + fprintf( fp, "InternalDevice\t%s\n", nvram_safe_get( "lan_ifname" )); + fprintf( fp, "ExternalDevice\t%s\n", nvram_safe_get("wan_iface")); + fprintf( fp, "RouteOnly\t%s\n", "1" ); /* - * These are user defined, eventually via the web page - */ + *These are user defined, eventually via the web page + */ if ((p = nvram_get("NC_Verbosity")) == NULL) p = "2"; fprintf( fp, "Verbosity\t%s\n", p ); diff --git a/release/src/router/www/splashd.asp b/release/src/router/www/splashd.asp index 644c680ff3..f54042db13 100644 --- a/release/src/router/www/splashd.asp +++ b/release/src/router/www/splashd.asp @@ -26,7 +26,7 @@ textarea {