From 76c34660c1c1d3a50b0ff9e51e8579d76175aecd Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 21 Jan 2016 08:13:00 +0000
Subject: [PATCH] Lower header recv timeout log priority from error to
 warning... this is how Radius appears to say goodbye.

---
 exec/load/binkp.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exec/load/binkp.js b/exec/load/binkp.js
index 04da7f7a6f..007ef19411 100644
--- a/exec/load/binkp.js
+++ b/exec/load/binkp.js
@@ -864,7 +864,7 @@ BinkP.prototype.recvFrame = function(timeout)
 		switch(this.sock.poll(timeout)) {
 			case 0:	// Timeout
 				if (timeout) {
-					log(LOG_ERROR, "Timed out receiving packet header!");
+					log(LOG_WARNING, "Timed out receiving packet header!");
 					this.sock.close();
 					this.sock = undefined;
 					return undefined;
@@ -882,7 +882,7 @@ BinkP.prototype.recvFrame = function(timeout)
 		switch(this.sock.poll(timeout)) {
 			case 0:	// Timeout
 				if (timeout) {
-					log(LOG_ERROR, "Timed out receiving second byte of packet header!");
+					log(LOG_WARNING, "Timed out receiving second byte of packet header!");
 					this.sock.close();
 					this.sock = undefined;
 					return undefined;
-- 
GitLab