diff --git a/exec/load/ftelnethelper.js b/exec/load/ftelnethelper.js
index 3f2c031350ca02d02f691d3cefce248a95c98d82..fee2c438ad71327729202cc73e24f5559e6fdd66 100644
--- a/exec/load/ftelnethelper.js
+++ b/exec/load/ftelnethelper.js
@@ -136,6 +136,11 @@ function UsingSecondRLoginName() {
 	return (FBBSOptions.indexOf("USE_2ND_RLOGIN") !== -1);
 }
 
+function UsingHAProxy() {
+	GetSBBSIniValues();
+	return (FBBSOptions.indexOf("HAPROXY_PROTO") !== -1);
+}
+
 function GetInterface(i) {
 	if (['', '0.0.0.0', '::'].indexOf(i) > -1) return 'localhost';
 	return i;