[PATCH 2/6] Use header/footer for Cisco banner message

Ľubomír Carik lubomir.carik at gmail.com
Fri Mar 3 14:56:06 PST 2017


This will help to identify the banner message in other tools.

Signed-off-by: Ľubomír Carik <Lubomir.Carik at gmail.com>
---
 vpnc-script-win.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vpnc-script-win.js b/vpnc-script-win.js
index 709721b..8df9651 100644
--- a/vpnc-script-win.js
+++ b/vpnc-script-win.js
@@ -187,9 +187,9 @@ case "connect":
 	}
 
 	if (env("CISCO_BANNER")) {
-		echo("--------------------------------------------------");
+		echo("--------------------- BANNER ---------------------");
 		echo(env("CISCO_BANNER"));
-		echo("--------------------------------------------------");
+		echo("------------------- BANNER end -------------------");
 	}
 	break;
 case "disconnect":
-- 
2.12.0.windows.1




More information about the openconnect-devel mailing list